0s autopkgtest [20:31:40]: starting date and time: 2024-03-27 20:31:40+0000 0s autopkgtest [20:31:40]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [20:31:40]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9bqt7vb1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed --apt-upgrade octave-image --timeout-short=300 --timeout-copy=20000 --timeout-test=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=octave/8.4.0-1build4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-big --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-s390x-20.secgroup --name adt-noble-s390x-octave-image-20240327-203139-juju-7f2275-prod-proposed-migration-environment-3-7683b937-8e22-4fc1-9fdc-6296b8df323e --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 110s autopkgtest [20:33:30]: testbed dpkg architecture: s390x 110s autopkgtest [20:33:30]: testbed apt version: 2.7.12 110s autopkgtest [20:33:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 112s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 113s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [477 kB] 113s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [8504 B] 113s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3942 kB] 113s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [55.9 kB] 113s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [655 kB] 113s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 113s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 113s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 113s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4055 kB] 114s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 114s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [46.2 kB] 114s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 115s Fetched 9368 kB in 3s (3002 kB/s) 115s Reading package lists... 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Calculating upgrade... 118s The following packages will be upgraded: 118s binutils binutils-common binutils-s390x-linux-gnu gcc-13-base gcc-14-base 118s initramfs-tools initramfs-tools-bin initramfs-tools-core jq libbinutils 118s libctf-nobfd0 libctf0 libexpat1 libftdi1-2 libgcc-s1 libjq1 libseccomp2 118s libsframe1 libstdc++6 libusb-1.0-0 118s 20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 4765 kB of archives. 118s After this operation, 1024 B of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x gcc-14-base s390x 14-20240315-1ubuntu1 [47.0 kB] 118s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++6 s390x 14-20240315-1ubuntu1 [908 kB] 118s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-s1 s390x 14-20240315-1ubuntu1 [35.9 kB] 118s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libseccomp2 s390x 2.5.5-1ubuntu2 [53.4 kB] 118s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libexpat1 s390x 2.6.1-2 [94.8 kB] 118s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libusb-1.0-0 s390x 2:1.0.27-1 [54.8 kB] 118s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libctf0 s390x 2.42-4ubuntu1 [98.4 kB] 119s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libctf-nobfd0 s390x 2.42-4ubuntu1 [100 kB] 119s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x binutils-s390x-linux-gnu s390x 2.42-4ubuntu1 [2270 kB] 119s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libbinutils s390x 2.42-4ubuntu1 [477 kB] 119s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x binutils s390x 2.42-4ubuntu1 [3056 B] 119s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x binutils-common s390x 2.42-4ubuntu1 [217 kB] 119s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libsframe1 s390x 2.42-4ubuntu1 [14.2 kB] 119s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-base s390x 13.2.0-21ubuntu1 [48.3 kB] 119s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools all 0.142ubuntu23 [9058 B] 119s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-core all 0.142ubuntu23 [50.1 kB] 119s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-bin s390x 0.142ubuntu23 [20.5 kB] 119s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x jq s390x 1.7.1-3 [66.5 kB] 119s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libjq1 s390x 1.7.1-3 [168 kB] 119s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libftdi1-2 s390x 1.5-6build4 [29.3 kB] 120s Fetched 4765 kB in 2s (3146 kB/s) 120s (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 ... 52167 files and directories currently installed.) 120s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_s390x.deb ... 120s Unpacking gcc-14-base:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 120s Setting up gcc-14-base:s390x (14-20240315-1ubuntu1) ... 120s (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 ... 52167 files and directories currently installed.) 120s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_s390x.deb ... 120s Unpacking libstdc++6:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 120s Setting up libstdc++6:s390x (14-20240315-1ubuntu1) ... 120s (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 ... 52167 files and directories currently installed.) 120s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_s390x.deb ... 120s Unpacking libgcc-s1:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 120s Setting up libgcc-s1:s390x (14-20240315-1ubuntu1) ... 120s (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 ... 52167 files and directories currently installed.) 120s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_s390x.deb ... 120s Unpacking libseccomp2:s390x (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 120s Setting up libseccomp2:s390x (2.5.5-1ubuntu2) ... 120s (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 ... 52167 files and directories currently installed.) 120s Preparing to unpack .../00-libexpat1_2.6.1-2_s390x.deb ... 120s Unpacking libexpat1:s390x (2.6.1-2) over (2.6.0-1) ... 120s Preparing to unpack .../01-libusb-1.0-0_2%3a1.0.27-1_s390x.deb ... 120s Unpacking libusb-1.0-0:s390x (2:1.0.27-1) over (2:1.0.26-1) ... 120s Preparing to unpack .../02-libctf0_2.42-4ubuntu1_s390x.deb ... 120s Unpacking libctf0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../03-libctf-nobfd0_2.42-4ubuntu1_s390x.deb ... 120s Unpacking libctf-nobfd0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../04-binutils-s390x-linux-gnu_2.42-4ubuntu1_s390x.deb ... 120s Unpacking binutils-s390x-linux-gnu (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../05-libbinutils_2.42-4ubuntu1_s390x.deb ... 120s Unpacking libbinutils:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../06-binutils_2.42-4ubuntu1_s390x.deb ... 120s Unpacking binutils (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../07-binutils-common_2.42-4ubuntu1_s390x.deb ... 120s Unpacking binutils-common:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../08-libsframe1_2.42-4ubuntu1_s390x.deb ... 120s Unpacking libsframe1:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 120s Preparing to unpack .../09-gcc-13-base_13.2.0-21ubuntu1_s390x.deb ... 120s Unpacking gcc-13-base:s390x (13.2.0-21ubuntu1) over (13.2.0-17ubuntu2) ... 120s Preparing to unpack .../10-initramfs-tools_0.142ubuntu23_all.deb ... 120s Unpacking initramfs-tools (0.142ubuntu23) over (0.142ubuntu20) ... 120s Preparing to unpack .../11-initramfs-tools-core_0.142ubuntu23_all.deb ... 120s Unpacking initramfs-tools-core (0.142ubuntu23) over (0.142ubuntu20) ... 120s Preparing to unpack .../12-initramfs-tools-bin_0.142ubuntu23_s390x.deb ... 120s Unpacking initramfs-tools-bin (0.142ubuntu23) over (0.142ubuntu20) ... 120s Preparing to unpack .../13-jq_1.7.1-3_s390x.deb ... 120s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 120s Preparing to unpack .../14-libjq1_1.7.1-3_s390x.deb ... 120s Unpacking libjq1:s390x (1.7.1-3) over (1.7.1-2) ... 120s Preparing to unpack .../15-libftdi1-2_1.5-6build4_s390x.deb ... 120s Unpacking libftdi1-2:s390x (1.5-6build4) over (1.5-6build3) ... 120s Setting up libexpat1:s390x (2.6.1-2) ... 120s Setting up libjq1:s390x (1.7.1-3) ... 120s Setting up binutils-common:s390x (2.42-4ubuntu1) ... 120s Setting up libctf-nobfd0:s390x (2.42-4ubuntu1) ... 120s Setting up libsframe1:s390x (2.42-4ubuntu1) ... 120s Setting up gcc-13-base:s390x (13.2.0-21ubuntu1) ... 120s Setting up jq (1.7.1-3) ... 120s Setting up libusb-1.0-0:s390x (2:1.0.27-1) ... 120s Setting up libbinutils:s390x (2.42-4ubuntu1) ... 120s Setting up initramfs-tools-bin (0.142ubuntu23) ... 120s Setting up libctf0:s390x (2.42-4ubuntu1) ... 120s Setting up binutils-s390x-linux-gnu (2.42-4ubuntu1) ... 120s Setting up binutils (2.42-4ubuntu1) ... 120s Setting up libftdi1-2:s390x (1.5-6build4) ... 120s Setting up initramfs-tools-core (0.142ubuntu23) ... 120s Setting up initramfs-tools (0.142ubuntu23) ... 120s update-initramfs: deferring update (trigger activated) 120s Processing triggers for man-db (2.12.0-3) ... 121s Processing triggers for libc-bin (2.39-0ubuntu6) ... 121s Processing triggers for initramfs-tools (0.142ubuntu23) ... 121s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 121s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 124s Using config file '/etc/zipl.conf' 124s Building bootmap in '/boot' 124s Adding IPL section 'ubuntu' (default) 124s Preparing boot device for LD-IPL: vda (0000). 124s Done. 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 224 not upgraded. 125s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 125s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 126s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 126s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 127s Reading package lists... 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Calculating upgrade... 127s The following packages were automatically installed and are no longer required: 127s libaio1 libnetplan0 python3-distutils python3-lib2to3 127s Use 'sudo apt autoremove' to remove them. 127s The following packages will be REMOVED: 127s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 127s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 127s libhogweed6 libmagic1 libnettle8 libnpth0 libnvme1 libparted2 libperl5.38 127s libpng16-16 libpsl5 libreadline8 libreiserfscore0 libssl3 libtirpc3 liburcu8 127s libuv1 127s The following NEW packages will be installed: 127s bpfcc-tools bpftrace fontconfig-config fonts-dejavu-core fonts-dejavu-mono 127s hwdata ieee-data libaio1t64 libapt-pkg6.0t64 libarchive13t64 libatm1t64 127s libbpfcc libc-dev-bin libc-devtools libc6-dev libclang-cpp18 libclang1-18 127s libcrypt-dev libcurl3t64-gnutls libcurl4t64 libdb5.3t64 libdeflate0 127s libdw1t64 libelf1t64 libext2fs2t64 libfontconfig1 libfreetype6 libgd3 127s libgdbm-compat4t64 libgdbm6t64 libglib2.0-0t64 libgnutls30t64 libgpgme11t64 127s libhogweed6t64 libjbig0 libjpeg-turbo8 libjpeg8 libllvm18 libmagic1t64 127s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 127s libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 libreiserfscore0t64 127s libsharpyuv0 libssl3t64 libtiff6 libtirpc3t64 liburcu8t64 libuv1t64 libwebp7 127s libxpm4 linux-headers-6.8.0-20 linux-headers-6.8.0-20-generic 127s linux-image-6.8.0-20-generic linux-libc-dev linux-modules-6.8.0-20-generic 127s linux-modules-extra-6.8.0-20-generic linux-tools-6.8.0-20 127s linux-tools-6.8.0-20-generic linux-tools-common manpages manpages-dev 127s python3-bpfcc python3-netaddr rpcsvc-proto ubuntu-kernel-accessories 127s xdg-user-dirs 127s The following packages have been kept back: 127s s390-tools 127s The following packages will be upgraded: 127s apparmor apt apt-utils base-files bash bind9-dnsutils bind9-host bind9-libs 127s bolt bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 127s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 127s dbus-user-session dhcpcd-base dirmngr dmsetup dpkg dpkg-dev e2fsprogs 127s e2fsprogs-l10n eject fdisk file ftp fwupd gawk gir1.2-girepository-2.0 127s gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client 127s gpgconf gpgsm gpgv groff-base ibverbs-providers inetutils-telnet info 127s install-info iproute2 keyboxd kmod kpartx krb5-locales libapparmor1 127s libaudit-common libaudit1 libblkid1 libblockdev-crypto3 libblockdev-fs3 127s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 127s libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 libbrotli1 127s libcap-ng0 libcom-err2 libcryptsetup12 libdbus-1-3 libdebconfclient0 127s libdevmapper1.02.1 libdpkg-perl libevent-core-2.1-7 libfdisk1 libfido2-1 127s libfwupd2 libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 127s libgudev-1.0-0 libgusb2 libibverbs1 libjcat1 libjson-glib-1.0-0 127s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 127s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 127s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 127s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 127s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 127s libpolkit-gobject-1-0 libproc2-0 libprotobuf-c1 libpython3-stdlib 127s libpython3.11-minimal libpython3.11-stdlib libpython3.12-minimal 127s libpython3.12-stdlib libqmi-glib5 libqmi-proxy libqrtr-glib0 librtmp1 127s libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 127s libsemanage-common libsemanage2 libslang2 libsmartcols1 libsqlite3-0 libss2 127s libssh-4 libsystemd-shared libsystemd0 libtext-charwidth-perl 127s libtext-iconv-perl libtirpc-common libudev1 libudisks2-0 libuuid1 127s libvolume-key1 libxml2 libxmlb2 libxmuu1 linux-generic linux-headers-generic 127s linux-headers-virtual linux-image-generic linux-image-virtual linux-virtual 127s logsave lshw lsof man-db motd-news-config mount mtr-tiny multipath-tools 127s netplan-generator netplan.io openssh-client openssh-server 127s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 127s pinentry-curses plymouth plymouth-theme-ubuntu-text procps python-apt-common 127s python3 python3-apt python3-cryptography python3-dbus python3-distutils 127s python3-gdbm python3-gi python3-lib2to3 python3-minimal python3-netplan 127s python3-pkg-resources python3-pyrsistent python3-setuptools 127s python3-typing-extensions python3-yaml python3.11 python3.11-minimal 127s python3.12 python3.12-minimal readline-common rsync rsyslog s390-tools-data 127s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 127s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 127s ubuntu-pro-client-l10n udev udisks2 usb.ids util-linux uuid-runtime 127s vim-common vim-tiny wget xxd xz-utils zlib1g 127s 223 upgraded, 73 newly installed, 28 to remove and 1 not upgraded. 127s Need to get 224 MB of archives. 127s After this operation, 524 MB of additional disk space will be used. 127s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x motd-news-config all 13ubuntu8 [5098 B] 128s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x base-files s390x 13ubuntu8 [74.2 kB] 128s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bash s390x 5.2.21-2ubuntu3 [845 kB] 128s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdutils s390x 1:2.39.3-9ubuntu2 [96.1 kB] 128s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbrotli1 s390x 1.1.0-2build1 [375 kB] 128s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgssapi-krb5-2 s390x 1.20.1-6ubuntu1 [149 kB] 128s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5-3 s390x 1.20.1-6ubuntu1 [360 kB] 128s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5support0 s390x 1.20.1-6ubuntu1 [34.6 kB] 128s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libk5crypto3 s390x 1.20.1-6ubuntu1 [90.3 kB] 128s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcom-err2 s390x 1.47.0-2.4~exp1ubuntu2 [22.9 kB] 128s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g s390x 1:1.3.dfsg-3.1ubuntu1 [75.7 kB] 128s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x librtmp1 s390x 2.4+20151223.gitfa8646d.1-2build6 [58.4 kB] 128s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udisks2 s390x 2.10.1-6 [298 kB] 128s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudisks2-0 s390x 2.10.1-6 [179 kB] 128s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid1 s390x 2.39.3-9ubuntu2 [128 kB] 128s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblzma5 s390x 5.6.0-0.2 [137 kB] 128s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kmod s390x 31+20240202-2ubuntu4 [107 kB] 128s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkmod2 s390x 31+20240202-2ubuntu4 [56.3 kB] 128s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-dev all 255.4-1ubuntu5 [103 kB] 128s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-timesyncd s390x 255.4-1ubuntu5 [35.3 kB] 128s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 128s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit-common all 1:3.1.2-2.1 [5674 B] 128s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcap-ng0 s390x 0.8.4-2build1 [15.7 kB] 129s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit1 s390x 1:3.1.2-2.1 [48.9 kB] 129s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam0g s390x 1.5.3-5ubuntu3 [69.8 kB] 129s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1 s390x 3.5-2ubuntu1 [84.7 kB] 129s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl4t64 s390x 8.5.0-2ubuntu8 [363 kB] 129s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x curl s390x 8.5.0-2ubuntu8 [227 kB] 129s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpsl5t64 s390x 0.21.2-1.1 [57.6 kB] 129s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x wget s390x 1.21.4-1ubuntu2 [351 kB] 129s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tnftp s390x 20230507-2build1 [107 kB] 129s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tcpdump s390x 4.99.4-3ubuntu2 [490 kB] 129s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd-shared s390x 255.4-1ubuntu5 [2131 kB] 129s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-resolved s390x 255.4-1ubuntu5 [304 kB] 129s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main s390x sudo s390x 1.9.15p5-3ubuntu3 [968 kB] 129s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsync s390x 3.2.7-1build1 [446 kB] 129s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-cryptography s390x 41.0.7-4build2 [918 kB] 130s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssl s390x 3.0.13-0ubuntu2 [1010 kB] 130s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-sftp-server s390x 1:9.6p1-3ubuntu11 [39.0 kB] 130s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-client s390x 1:9.6p1-3ubuntu11 [935 kB] 130s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-server s390x 1:9.6p1-3ubuntu11 [529 kB] 130s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssh-4 s390x 0.10.6-2build1 [189 kB] 130s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules s390x 2.1.28+dfsg1-5ubuntu1 [76.6 kB] 130s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12 s390x 3.12.2-4build3 [645 kB] 130s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12-minimal s390x 3.12.2-4build3 [2419 kB] 131s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-minimal s390x 3.12.2-4build3 [829 kB] 131s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparted2t64 s390x 3.6-3.1build2 [172 kB] 131s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main s390x parted s390x 3.6-3.1build2 [44.6 kB] 131s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11 s390x 3.11.8-1build4 [589 kB] 131s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11-minimal s390x 3.11.8-1build4 [2280 kB] 131s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-minimal s390x 3.11.8-1build4 [838 kB] 131s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-stdlib s390x 3.11.8-1build4 [1944 kB] 132s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main s390x shared-mime-info s390x 2.4-1build1 [474 kB] 132s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-girepository-2.0 s390x 1.79.1-1ubuntu6 [24.5 kB] 132s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 132s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-1.0-1 s390x 1.79.1-1ubuntu6 [84.0 kB] 132s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gi s390x 3.47.0-3build1 [236 kB] 132s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-dbus s390x 1.3.2-5build2 [100 kB] 132s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnetplan1 s390x 1.0-1 [123 kB] 132s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-netplan s390x 1.0-1 [23.0 kB] 132s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan-generator s390x 1.0-1 [59.1 kB] 132s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan.io s390x 1.0-1 [65.4 kB] 132s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmlb2 s390x 0.3.15-1build1 [70.6 kB] 132s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgpgme11t64 s390x 1.18.0-4.1ubuntu3 [150 kB] 132s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libvolume-key1 s390x 0.3.12-7build1 [40.8 kB] 132s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqrtr-glib0 s390x 1.2.2-1ubuntu3 [17.5 kB] 132s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-glib5 s390x 1.35.2-0ubuntu1 [918 kB] 132s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-proxy s390x 1.35.2-0ubuntu1 [6122 B] 132s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-agent-1-0 s390x 124-1ubuntu1 [17.8 kB] 132s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-gobject-1-0 s390x 124-1ubuntu1 [48.3 kB] 132s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmm-glib0 s390x 1.23.4-0ubuntu1 [251 kB] 132s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-glib4 s390x 1.31.2-0ubuntu2 [238 kB] 132s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-proxy s390x 1.31.2-0ubuntu2 [6154 B] 132s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 132s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-0 s390x 1.8.0-2build1 [68.4 kB] 132s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgusb2 s390x 0.4.8-1build1 [39.0 kB] 132s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgudev-1.0-0 s390x 1:238-3ubuntu2 [15.7 kB] 132s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libarchive13t64 s390x 3.7.2-1.1ubuntu2 [419 kB] 132s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fwupd s390x 1.9.15-2 [4435 kB] 133s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl3t64-gnutls s390x 8.5.0-2ubuntu8 [356 kB] 133s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfwupd2 s390x 1.9.15-2 [136 kB] 134s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev3 s390x 3.1.0-1build1 [52.3 kB] 134s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-utils3 s390x 3.1.0-1build1 [19.2 kB] 134s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-swap3 s390x 3.1.0-1build1 [7778 B] 134s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-part3 s390x 3.1.0-1build1 [15.4 kB] 134s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnvme1t64 s390x 1.8-3 [78.7 kB] 134s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-nvme3 s390x 3.1.0-1build1 [18.3 kB] 134s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-mdraid3 s390x 3.1.0-1build1 [13.2 kB] 134s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-loop3 s390x 3.1.0-1build1 [7138 B] 134s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main s390x logsave s390x 1.47.0-2.4~exp1ubuntu2 [22.5 kB] 134s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 134s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libext2fs2t64 s390x 1.47.0-2.4~exp1ubuntu2 [235 kB] 134s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs s390x 1.47.0-2.4~exp1ubuntu2 [615 kB] 134s Get:94 http://ftpmaster.internal/ubuntu noble/main s390x libreiserfscore0t64 s390x 1:3.6.27-7.1 [85.5 kB] 134s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main s390x btrfs-progs s390x 6.6.3-1.1build1 [959 kB] 134s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-fs3 s390x 3.1.0-1build1 [36.5 kB] 134s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-crypto3 s390x 3.1.0-1build1 [21.6 kB] 134s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bolt s390x 0.9.6-2build1 [142 kB] 134s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 135s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjcat1 s390x 0.2.0-2build2 [34.4 kB] 135s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap2 s390x 2.6.7+dfsg-1~exp1ubuntu6 [202 kB] 135s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client-l10n s390x 31.2.2 [19.4 kB] 135s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client s390x 31.2.2 [214 kB] 135s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-utils s390x 2.4.4-2ubuntu15 [116 kB] 135s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main s390x keyboxd s390x 2.4.4-2ubuntu15 [83.1 kB] 135s Get:106 http://ftpmaster.internal/ubuntu noble/main s390x libnpth0t64 s390x 1.6-3.1 [8148 B] 135s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgv s390x 2.4.4-2ubuntu15 [165 kB] 135s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-wks-client s390x 2.4.4-2ubuntu15 [76.8 kB] 135s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-agent s390x 2.4.4-2ubuntu15 [240 kB] 135s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg s390x 2.4.4-2ubuntu15 [589 kB] 135s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dirmngr s390x 2.4.4-2ubuntu15 [340 kB] 136s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg all 2.4.4-2ubuntu15 [359 kB] 136s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-apt s390x 2.7.7 [171 kB] 136s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt-utils s390x 2.7.14 [214 kB] 136s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg6.0t64 s390x 2.7.14 [1014 kB] 136s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnettle8t64 s390x 3.9.1-2.2 [210 kB] 136s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhogweed6t64 s390x 3.9.1-2.2 [204 kB] 136s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgnutls30t64 s390x 3.8.3-1.1ubuntu2 [1044 kB] 136s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt s390x 2.7.14 [1390 kB] 137s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgconf s390x 2.4.4-2ubuntu15 [111 kB] 137s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgsm s390x 2.4.4-2ubuntu15 [244 kB] 137s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline8t64 s390x 8.2-4 [170 kB] 137s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gawk s390x 1:5.2.1-2build2 [496 kB] 137s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fdisk s390x 2.39.3-9ubuntu2 [124 kB] 137s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-stdlib s390x 3.12.2-4build3 [2046 kB] 137s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-base s390x 5.38.2-3.2 [1961 kB] 138s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 138s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gdbm s390x 3.12.2-3ubuntu1.1 [19.0 kB] 138s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main s390x man-db s390x 2.12.0-3build4 [1246 kB] 138s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm6t64 s390x 1.23-5.1 [36.4 kB] 138s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm-compat4t64 s390x 1.23-5.1 [6880 B] 138s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperl5.38t64 s390x 5.38.2-3.2 [5007 kB] 139s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl s390x 5.38.2-3.2 [231 kB] 139s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdb5.3t64 s390x 5.3.28+dfsg2-6 [763 kB] 143s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules-db s390x 2.1.28+dfsg1-5ubuntu1 [21.1 kB] 143s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-2 s390x 2.1.28+dfsg1-5ubuntu1 [57.8 kB] 143s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfido2-1 s390x 1.14.0-1build1 [81.0 kB] 143s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcryptsetup12 s390x 2:2.7.0-1ubuntu2 [264 kB] 143s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dhcpcd-base s390x 1:10.0.6-1ubuntu2 [217 kB] 143s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuv1t64 s390x 1.48.0-1.1 [101 kB] 143s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-host s390x 1:9.18.24-0ubuntu3 [50.5 kB] 143s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-dnsutils s390x 1:9.18.24-0ubuntu3 [162 kB] 143s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-libs s390x 1:9.18.24-0ubuntu3 [1243 kB] 143s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl3t64 s390x 3.0.13-0ubuntu2 [1675 kB] 143s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnss-systemd s390x 255.4-1ubuntu5 [166 kB] 143s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudev1 s390x 255.4-1ubuntu5 [178 kB] 143s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd s390x 255.4-1ubuntu5 [3533 kB] 143s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udev s390x 255.4-1ubuntu5 [1887 kB] 143s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-sysv s390x 255.4-1ubuntu5 [11.9 kB] 143s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-systemd s390x 255.4-1ubuntu5 [242 kB] 143s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd0 s390x 255.4-1ubuntu5 [443 kB] 143s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules-bin s390x 1.5.3-5ubuntu3 [57.4 kB] 143s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules s390x 1.5.3-5ubuntu3 [289 kB] 143s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 143s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-user-session s390x 1.14.10-4ubuntu2 [9960 B] 143s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapparmor1 s390x 4.0.0-beta3-0ubuntu2 [50.8 kB] 143s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 143s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-bin s390x 1.14.10-4ubuntu2 [41.4 kB] 143s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus s390x 1.14.10-4ubuntu2 [24.3 kB] 143s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-daemon s390x 1.14.10-4ubuntu2 [118 kB] 143s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdbus-1-3 s390x 1.14.10-4ubuntu2 [213 kB] 143s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount1 s390x 2.39.3-9ubuntu2 [138 kB] 143s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevmapper1.02.1 s390x 2:1.02.185-3ubuntu2 [142 kB] 143s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuuid1 s390x 2.39.3-9ubuntu2 [35.6 kB] 143s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfdisk1 s390x 2.39.3-9ubuntu2 [151 kB] 143s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mount s390x 2.39.3-9ubuntu2 [119 kB] 143s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsqlite3-0 s390x 3.45.1-1ubuntu1 [747 kB] 143s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg s390x 1.22.6ubuntu5 [1278 kB] 143s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-minimal s390x 3.12.2-0ubuntu1 [27.1 kB] 143s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3 s390x 3.12.2-0ubuntu1 [24.1 kB] 143s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3-stdlib s390x 3.12.2-0ubuntu1 [9804 B] 143s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsmartcols1 s390x 2.39.3-9ubuntu2 [67.9 kB] 143s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdextrautils s390x 2.39.3-9ubuntu2 [76.3 kB] 143s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main s390x groff-base s390x 1.23.0-3build1 [1049 kB] 143s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x pinentry-curses s390x 1.2.1-3ubuntu4 [37.6 kB] 143s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main s390x readline-common all 8.2-4 [56.4 kB] 143s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml2 s390x 2.9.14+dfsg-1.3ubuntu2 [818 kB] 143s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbpf1 s390x 1:1.3.0-2build1 [176 kB] 143s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 143s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc-common all 1.3.4+ds-1.1 [8018 B] 143s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lsof s390x 4.95.0-1build2 [248 kB] 143s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnsl2 s390x 1.3.0-3build2 [44.1 kB] 143s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc3t64 s390x 1.3.4+ds-1.1 [85.8 kB] 143s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main s390x iproute2 s390x 6.1.0-1ubuntu5 [1156 kB] 143s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-yaml s390x 6.0.1-2build1 [121 kB] 143s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libprotobuf-c1 s390x 1.4.1-1ubuntu3 [23.4 kB] 143s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnghttp2-14 s390x 1.59.0-1build1 [77.8 kB] 143s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc2-0 s390x 2:4.0.4-4ubuntu2 [60.1 kB] 143s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main s390x procps s390x 2:4.0.4-4ubuntu2 [724 kB] 143s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main s390x coreutils s390x 9.4-3ubuntu3 [1482 kB] 144s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main s390x util-linux s390x 2.39.3-9ubuntu2 [1143 kB] 144s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main s390x file s390x 1:5.45-3 [22.2 kB] 144s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic-mgc s390x 1:5.45-3 [305 kB] 144s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic1t64 s390x 1:5.45-3 [93.1 kB] 144s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libplymouth5 s390x 24.004.60-1ubuntu6 [151 kB] 144s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng16-16t64 s390x 1.6.43-3 [200 kB] 144s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main s390x multipath-tools s390x 0.9.4-5ubuntu6 [318 kB] 144s Get:198 http://ftpmaster.internal/ubuntu noble/main s390x liburcu8t64 s390x 0.14.0-3.1 [67.3 kB] 144s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblocale-gettext-perl s390x 1.07-6ubuntu4 [15.8 kB] 144s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-runtime s390x 2.39.3-9ubuntu2 [33.4 kB] 144s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdebconfclient0 s390x 0.271ubuntu2 [11.4 kB] 144s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage-common all 3.5-1build4 [10.1 kB] 144s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage2 s390x 3.5-1build4 [96.7 kB] 145s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main s390x install-info s390x 7.1-3build1 [64.5 kB] 145s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libss2 s390x 1.47.0-2.4~exp1ubuntu2 [17.2 kB] 145s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dmsetup s390x 2:1.02.185-3ubuntu2 [80.4 kB] 145s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main s390x eject s390x 2.39.3-9ubuntu2 [26.2 kB] 145s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main s390x krb5-locales all 1.20.1-6ubuntu1 [13.8 kB] 145s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 145s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libslang2 s390x 2.3.3-3build1 [501 kB] 145s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-charwidth-perl s390x 0.04-11build2 [9484 B] 145s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-iconv-perl s390x 1.7-8build2 [13.8 kB] 145s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python-apt-common all 2.7.7 [19.8 kB] 145s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 145s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 145s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsyslog s390x 8.2312.0-3ubuntu7 [536 kB] 145s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-tiny s390x 2:9.1.0016-1ubuntu6 [879 kB] 145s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-common all 2:9.1.0016-1ubuntu6 [385 kB] 145s Get:219 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 145s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xxd s390x 2:9.1.0016-1ubuntu6 [63.5 kB] 145s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apparmor s390x 4.0.0-beta3-0ubuntu2 [710 kB] 146s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ftp all 20230507-2build1 [4724 B] 146s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main s390x inetutils-telnet s390x 2:2.5-3ubuntu3 [105 kB] 146s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main s390x info s390x 7.1-3build1 [152 kB] 146s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmuu1 s390x 2:1.1.3-3build1 [8860 B] 146s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lshw s390x 02.19.git.2021.06.19.996aaad9c7-2build2 [346 kB] 146s Get:227 http://ftpmaster.internal/ubuntu noble/main s390x manpages all 6.05.01-1 [1340 kB] 146s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mtr-tiny s390x 0.95-1.1build1 [57.0 kB] 146s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth-theme-ubuntu-text s390x 24.004.60-1ubuntu6 [10.2 kB] 146s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth s390x 24.004.60-1ubuntu6 [147 kB] 146s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main s390x telnet all 0.17+2.5-3ubuntu3 [3682 B] 146s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main s390x usb.ids all 2024.03.18-1 [223 kB] 146s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xz-utils s390x 5.6.0-0.2 [274 kB] 146s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm18 s390x 1:18.1.2-1ubuntu2 [33.4 MB] 152s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang-cpp18 s390x 1:18.1.2-1ubuntu2 [16.1 MB] 157s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libbpfcc s390x 0.29.1+ds-1ubuntu4 [697 kB] 157s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x python3-bpfcc all 0.29.1+ds-1ubuntu4 [40.2 kB] 157s Get:238 http://ftpmaster.internal/ubuntu noble/main s390x ieee-data all 20220827.1 [2113 kB] 157s Get:239 http://ftpmaster.internal/ubuntu noble/main s390x python3-netaddr all 0.8.0-2ubuntu1 [319 kB] 157s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpfcc-tools all 0.29.1+ds-1ubuntu4 [687 kB] 158s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang1-18 s390x 1:18.1.2-1ubuntu2 [9349 kB] 160s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdw1t64 s390x 0.190-1.1build2 [286 kB] 160s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpftrace s390x 0.20.2-1ubuntu1 [1139 kB] 160s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cryptsetup-bin s390x 2:2.7.0-1ubuntu2 [211 kB] 161s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg-dev all 1.22.6ubuntu5 [1074 kB] 161s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdpkg-perl all 1.22.6ubuntu5 [269 kB] 161s Get:247 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 161s Get:248 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 161s Get:249 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig-config s390x 2.15.0-1.1ubuntu1 [37.4 kB] 161s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 161s Get:251 http://ftpmaster.internal/ubuntu noble/main s390x hwdata all 0.379-1 [29.1 kB] 162s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libibverbs1 s390x 50.0-2build1 [70.0 kB] 162s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ibverbs-providers s390x 50.0-2build1 [408 kB] 162s Get:254 http://ftpmaster.internal/ubuntu noble/main s390x libaio1t64 s390x 0.3.113-6 [7290 B] 162s Get:255 http://ftpmaster.internal/ubuntu noble/main s390x libatm1t64 s390x 1:2.5.1-5.1 [24.5 kB] 162s Get:256 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu6 [20.2 kB] 162s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfreetype6 s390x 2.13.2+dfsg-1build2 [437 kB] 162s Get:258 http://ftpmaster.internal/ubuntu noble/main s390x libfontconfig1 s390x 2.15.0-1.1ubuntu1 [150 kB] 162s Get:259 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] 162s Get:260 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 162s Get:261 http://ftpmaster.internal/ubuntu noble/main s390x libdeflate0 s390x 1.19-1 [46.0 kB] 162s Get:262 http://ftpmaster.internal/ubuntu noble/main s390x libjbig0 s390x 2.1-6.1ubuntu1 [29.8 kB] 162s Get:263 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsharpyuv0 s390x 1.3.2-0.4build2 [14.9 kB] 163s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwebp7 s390x 1.3.2-0.4build2 [207 kB] 163s Get:265 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu1 [218 kB] 163s Get:266 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxpm4 s390x 1:3.5.17-1build1 [41.4 kB] 163s Get:267 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgd3 s390x 2.3.3-9ubuntu3 [141 kB] 163s Get:268 http://ftpmaster.internal/ubuntu noble/main s390x libc-devtools s390x 2.39-0ubuntu6 [30.6 kB] 163s Get:269 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-libc-dev s390x 6.8.0-20.20 [1592 kB] 163s Get:270 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 163s Get:271 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 163s Get:272 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu6 [1629 kB] 164s Get:273 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libevent-core-2.1-7 s390x 2.1.12-stable-9build1 [94.3 kB] 164s Get:274 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 164s Get:275 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-6.8.0-20-generic s390x 6.8.0-20.20 [21.0 MB] 166s Get:276 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-6.8.0-20-generic s390x 6.8.0-20.20 [9872 kB] 168s Get:277 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-extra-6.8.0-20-generic s390x 6.8.0-20.20 [11.7 MB] 170s Get:278 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-generic s390x 6.8.0-20.20+1 [1734 B] 170s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-generic s390x 6.8.0-20.20+1 [9688 B] 170s Get:280 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-virtual s390x 6.8.0-20.20+1 [1682 B] 170s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-virtual s390x 6.8.0-20.20+1 [9700 B] 170s Get:282 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-virtual s390x 6.8.0-20.20+1 [1642 B] 170s Get:283 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20 all 6.8.0-20.20 [13.6 MB] 173s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20-generic s390x 6.8.0-20.20 [2579 kB] 173s Get:285 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-generic s390x 6.8.0-20.20+1 [9608 B] 173s Get:286 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-common all 6.8.0-20.20 [437 kB] 173s Get:287 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20 s390x 6.8.0-20.20 [2674 kB] 174s Get:288 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20-generic s390x 6.8.0-20.20 [1724 B] 174s Get:289 http://ftpmaster.internal/ubuntu noble/main s390x manpages-dev all 6.05.01-1 [2018 kB] 174s Get:290 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-distutils all 3.12.2-3ubuntu1.1 [133 kB] 174s Get:291 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-lib2to3 all 3.12.2-3ubuntu1.1 [79.1 kB] 174s Get:292 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pyrsistent s390x 0.20.0-1build1 [55.8 kB] 174s Get:293 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-typing-extensions all 4.10.0-1 [60.7 kB] 175s Get:294 http://ftpmaster.internal/ubuntu noble-proposed/main s390x s390-tools-data all 2.31.0-0ubuntu3 [17.8 kB] 175s Get:295 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-kernel-accessories s390x 1.536build1 [10.5 kB] 175s Get:296 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kpartx s390x 0.9.4-5ubuntu6 [32.8 kB] 176s Preconfiguring packages ... 176s Fetched 224 MB in 47s (4710 kB/s) 176s (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 ... 52168 files and directories currently installed.) 176s Preparing to unpack .../motd-news-config_13ubuntu8_all.deb ... 176s Unpacking motd-news-config (13ubuntu8) over (13ubuntu7) ... 176s Preparing to unpack .../base-files_13ubuntu8_s390x.deb ... 176s Unpacking base-files (13ubuntu8) over (13ubuntu7) ... 176s Setting up base-files (13ubuntu8) ... 176s motd-news.service is a disabled or a static unit not running, not starting it. 176s (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 ... 52168 files and directories currently installed.) 176s Preparing to unpack .../bash_5.2.21-2ubuntu3_s390x.deb ... 176s Unpacking bash (5.2.21-2ubuntu3) over (5.2.21-2ubuntu2) ... 176s Setting up bash (5.2.21-2ubuntu3) ... 176s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 176s (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 ... 52168 files and directories currently installed.) 176s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_s390x.deb ... 176s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 176s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../0-libbrotli1_1.1.0-2build1_s390x.deb ... 177s Unpacking libbrotli1:s390x (1.1.0-2build1) over (1.1.0-2) ... 177s Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-6ubuntu1_s390x.deb ... 177s Unpacking libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 177s Preparing to unpack .../2-libkrb5-3_1.20.1-6ubuntu1_s390x.deb ... 177s Unpacking libkrb5-3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 177s Preparing to unpack .../3-libkrb5support0_1.20.1-6ubuntu1_s390x.deb ... 177s Unpacking libkrb5support0:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 177s Preparing to unpack .../4-libk5crypto3_1.20.1-6ubuntu1_s390x.deb ... 177s Unpacking libk5crypto3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 177s Preparing to unpack .../5-libcom-err2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 177s Unpacking libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 177s Preparing to unpack .../6-zlib1g_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 177s Unpacking zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 177s Setting up zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2build6_s390x.deb ... 177s Unpacking librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 177s Preparing to unpack .../udisks2_2.10.1-6_s390x.deb ... 177s Unpacking udisks2 (2.10.1-6) over (2.10.1-1ubuntu2) ... 177s Preparing to unpack .../libudisks2-0_2.10.1-6_s390x.deb ... 177s Unpacking libudisks2-0:s390x (2.10.1-6) over (2.10.1-1ubuntu2) ... 177s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_s390x.deb ... 177s Unpacking libblkid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 177s Setting up libblkid1:s390x (2.39.3-9ubuntu2) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../liblzma5_5.6.0-0.2_s390x.deb ... 177s Unpacking liblzma5:s390x (5.6.0-0.2) over (5.4.5-0.3) ... 177s Setting up liblzma5:s390x (5.6.0-0.2) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../0-kmod_31+20240202-2ubuntu4_s390x.deb ... 177s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 177s Preparing to unpack .../1-libkmod2_31+20240202-2ubuntu4_s390x.deb ... 177s Unpacking libkmod2:s390x (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 177s Preparing to unpack .../2-systemd-dev_255.4-1ubuntu5_all.deb ... 177s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 177s Preparing to unpack .../3-systemd-timesyncd_255.4-1ubuntu5_s390x.deb ... 177s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 177s Preparing to unpack .../4-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 177s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 177s Preparing to unpack .../5-libaudit-common_1%3a3.1.2-2.1_all.deb ... 177s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 177s Setting up libaudit-common (1:3.1.2-2.1) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../libcap-ng0_0.8.4-2build1_s390x.deb ... 177s Unpacking libcap-ng0:s390x (0.8.4-2build1) over (0.8.4-2) ... 177s Setting up libcap-ng0:s390x (0.8.4-2build1) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_s390x.deb ... 177s Unpacking libaudit1:s390x (1:3.1.2-2.1) over (1:3.1.2-2) ... 177s Setting up libaudit1:s390x (1:3.1.2-2.1) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_s390x.deb ... 177s Unpacking libpam0g:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 177s Setting up libpam0g:s390x (1.5.3-5ubuntu3) ... 177s (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 ... 52168 files and directories currently installed.) 177s Preparing to unpack .../libselinux1_3.5-2ubuntu1_s390x.deb ... 177s Unpacking libselinux1:s390x (3.5-2ubuntu1) over (3.5-2build1) ... 177s Setting up libselinux1:s390x (3.5-2ubuntu1) ... 177s dpkg: libcurl4:s390x: dependency problems, but removing anyway as you requested: 177s s390-tools depends on libcurl4 (>= 7.16.2). 177s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 177s 177s (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 ... 52168 files and directories currently installed.) 177s Removing libcurl4:s390x (8.5.0-2ubuntu2) ... 177s Selecting previously unselected package libcurl4t64:s390x. 177s (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 ... 52163 files and directories currently installed.) 177s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu8_s390x.deb ... 177s Unpacking libcurl4t64:s390x (8.5.0-2ubuntu8) ... 177s Preparing to unpack .../curl_8.5.0-2ubuntu8_s390x.deb ... 177s Unpacking curl (8.5.0-2ubuntu8) over (8.5.0-2ubuntu2) ... 177s dpkg: libpsl5:s390x: dependency problems, but removing anyway as you requested: 177s wget depends on libpsl5 (>= 0.16.0). 177s libcurl3-gnutls:s390x depends on libpsl5 (>= 0.16.0). 177s 177s (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 ... 52169 files and directories currently installed.) 177s Removing libpsl5:s390x (0.21.2-1build1) ... 177s Selecting previously unselected package libpsl5t64:s390x. 177s (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 ... 52164 files and directories currently installed.) 177s Preparing to unpack .../00-libpsl5t64_0.21.2-1.1_s390x.deb ... 177s Unpacking libpsl5t64:s390x (0.21.2-1.1) ... 177s Preparing to unpack .../01-wget_1.21.4-1ubuntu2_s390x.deb ... 177s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 177s Preparing to unpack .../02-tnftp_20230507-2build1_s390x.deb ... 177s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 177s Preparing to unpack .../03-tcpdump_4.99.4-3ubuntu2_s390x.deb ... 177s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 177s Preparing to unpack .../04-libsystemd-shared_255.4-1ubuntu5_s390x.deb ... 177s Unpacking libsystemd-shared:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 178s Preparing to unpack .../05-systemd-resolved_255.4-1ubuntu5_s390x.deb ... 178s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 178s Preparing to unpack .../06-sudo_1.9.15p5-3ubuntu3_s390x.deb ... 178s Unpacking sudo (1.9.15p5-3ubuntu3) over (1.9.15p5-3ubuntu1) ... 178s Preparing to unpack .../07-rsync_3.2.7-1build1_s390x.deb ... 178s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 178s Preparing to unpack .../08-python3-cryptography_41.0.7-4build2_s390x.deb ... 178s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 178s Preparing to unpack .../09-openssl_3.0.13-0ubuntu2_s390x.deb ... 178s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 178s Preparing to unpack .../10-openssh-sftp-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 178s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 178s Preparing to unpack .../11-openssh-client_1%3a9.6p1-3ubuntu11_s390x.deb ... 178s Unpacking openssh-client (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 178s Preparing to unpack .../12-openssh-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 178s Unpacking openssh-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 178s Preparing to unpack .../13-libssh-4_0.10.6-2build1_s390x.deb ... 178s Unpacking libssh-4:s390x (0.10.6-2build1) over (0.10.6-2) ... 178s Preparing to unpack .../14-libsasl2-modules_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 178s Unpacking libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 178s Preparing to unpack .../15-python3.12_3.12.2-4build3_s390x.deb ... 178s Unpacking python3.12 (3.12.2-4build3) over (3.12.2-1) ... 178s Preparing to unpack .../16-python3.12-minimal_3.12.2-4build3_s390x.deb ... 178s Unpacking python3.12-minimal (3.12.2-4build3) over (3.12.2-1) ... 178s Preparing to unpack .../17-libpython3.12-minimal_3.12.2-4build3_s390x.deb ... 178s Unpacking libpython3.12-minimal:s390x (3.12.2-4build3) over (3.12.2-1) ... 178s dpkg: libparted2:s390x: dependency problems, but removing anyway as you requested: 178s parted depends on libparted2 (= 3.6-3). 178s 178s (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 ... 52170 files and directories currently installed.) 178s Removing libparted2:s390x (3.6-3) ... 178s Selecting previously unselected package libparted2t64:s390x. 178s (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 ... 52164 files and directories currently installed.) 178s Preparing to unpack .../00-libparted2t64_3.6-3.1build2_s390x.deb ... 178s Unpacking libparted2t64:s390x (3.6-3.1build2) ... 178s Preparing to unpack .../01-parted_3.6-3.1build2_s390x.deb ... 178s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 178s Preparing to unpack .../02-python3.11_3.11.8-1build4_s390x.deb ... 178s Unpacking python3.11 (3.11.8-1build4) over (3.11.8-1) ... 178s Preparing to unpack .../03-python3.11-minimal_3.11.8-1build4_s390x.deb ... 178s Unpacking python3.11-minimal (3.11.8-1build4) over (3.11.8-1) ... 179s Preparing to unpack .../04-libpython3.11-minimal_3.11.8-1build4_s390x.deb ... 179s Unpacking libpython3.11-minimal:s390x (3.11.8-1build4) over (3.11.8-1) ... 179s Preparing to unpack .../05-libpython3.11-stdlib_3.11.8-1build4_s390x.deb ... 179s Unpacking libpython3.11-stdlib:s390x (3.11.8-1build4) over (3.11.8-1) ... 179s Preparing to unpack .../06-shared-mime-info_2.4-1build1_s390x.deb ... 179s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 179s Preparing to unpack .../07-gir1.2-girepository-2.0_1.79.1-1ubuntu6_s390x.deb ... 179s Unpacking gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 179s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 179s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 179s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_s390x.deb ... 179s Unpacking libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 179s Preparing to unpack .../10-python3-gi_3.47.0-3build1_s390x.deb ... 179s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 179s Preparing to unpack .../11-python3-dbus_1.3.2-5build2_s390x.deb ... 179s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 179s Selecting previously unselected package libnetplan1:s390x. 179s Preparing to unpack .../12-libnetplan1_1.0-1_s390x.deb ... 179s Unpacking libnetplan1:s390x (1.0-1) ... 179s Preparing to unpack .../13-python3-netplan_1.0-1_s390x.deb ... 179s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 179s Preparing to unpack .../14-netplan-generator_1.0-1_s390x.deb ... 179s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 179s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 179s Preparing to unpack .../15-netplan.io_1.0-1_s390x.deb ... 179s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 179s Preparing to unpack .../16-libxmlb2_0.3.15-1build1_s390x.deb ... 179s Unpacking libxmlb2:s390x (0.3.15-1build1) over (0.3.15-1) ... 179s dpkg: libgpgme11:s390x: dependency problems, but removing anyway as you requested: 179s libvolume-key1:s390x depends on libgpgme11 (>= 1.4.1). 179s libjcat1:s390x depends on libgpgme11 (>= 1.2.0). 179s 179s (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 ... 52172 files and directories currently installed.) 179s Removing libgpgme11:s390x (1.18.0-4ubuntu1) ... 179s Selecting previously unselected package libgpgme11t64:s390x. 179s (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 ... 52166 files and directories currently installed.) 179s Preparing to unpack .../00-libgpgme11t64_1.18.0-4.1ubuntu3_s390x.deb ... 179s Unpacking libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 179s Preparing to unpack .../01-libvolume-key1_0.3.12-7build1_s390x.deb ... 179s Unpacking libvolume-key1:s390x (0.3.12-7build1) over (0.3.12-5build2) ... 179s Preparing to unpack .../02-libqrtr-glib0_1.2.2-1ubuntu3_s390x.deb ... 179s Unpacking libqrtr-glib0:s390x (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 179s Preparing to unpack .../03-libqmi-glib5_1.35.2-0ubuntu1_s390x.deb ... 179s Unpacking libqmi-glib5:s390x (1.35.2-0ubuntu1) over (1.34.0-2) ... 180s Preparing to unpack .../04-libqmi-proxy_1.35.2-0ubuntu1_s390x.deb ... 180s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 180s Preparing to unpack .../05-libpolkit-agent-1-0_124-1ubuntu1_s390x.deb ... 180s Unpacking libpolkit-agent-1-0:s390x (124-1ubuntu1) over (124-1) ... 180s Preparing to unpack .../06-libpolkit-gobject-1-0_124-1ubuntu1_s390x.deb ... 180s Unpacking libpolkit-gobject-1-0:s390x (124-1ubuntu1) over (124-1) ... 180s Preparing to unpack .../07-libmm-glib0_1.23.4-0ubuntu1_s390x.deb ... 180s Unpacking libmm-glib0:s390x (1.23.4-0ubuntu1) over (1.22.0-3) ... 180s Preparing to unpack .../08-libmbim-glib4_1.31.2-0ubuntu2_s390x.deb ... 180s Unpacking libmbim-glib4:s390x (1.31.2-0ubuntu2) over (1.30.0-1) ... 180s Preparing to unpack .../09-libmbim-proxy_1.31.2-0ubuntu2_s390x.deb ... 180s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 180s Preparing to unpack .../10-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 180s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 180s Preparing to unpack .../11-libjson-glib-1.0-0_1.8.0-2build1_s390x.deb ... 180s Unpacking libjson-glib-1.0-0:s390x (1.8.0-2build1) over (1.8.0-2) ... 180s Preparing to unpack .../12-libgusb2_0.4.8-1build1_s390x.deb ... 180s Unpacking libgusb2:s390x (0.4.8-1build1) over (0.4.8-1) ... 180s Preparing to unpack .../13-libgudev-1.0-0_1%3a238-3ubuntu2_s390x.deb ... 180s Unpacking libgudev-1.0-0:s390x (1:238-3ubuntu2) over (1:238-3) ... 180s dpkg: libarchive13:s390x: dependency problems, but removing anyway as you requested: 180s fwupd depends on libarchive13 (>= 3.2.1). 180s 180s (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 ... 52173 files and directories currently installed.) 180s Removing libarchive13:s390x (3.7.2-1ubuntu2) ... 180s Selecting previously unselected package libarchive13t64:s390x. 180s (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 ... 52167 files and directories currently installed.) 180s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu2_s390x.deb ... 180s Unpacking libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 180s Preparing to unpack .../fwupd_1.9.15-2_s390x.deb ... 180s Unpacking fwupd (1.9.15-2) over (1.9.14-1) ... 180s dpkg: libcurl3-gnutls:s390x: dependency problems, but removing anyway as you requested: 180s libfwupd2:s390x depends on libcurl3-gnutls (>= 7.63.0). 180s 180s (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 ... 52174 files and directories currently installed.) 180s Removing libcurl3-gnutls:s390x (8.5.0-2ubuntu2) ... 180s Selecting previously unselected package libcurl3t64-gnutls:s390x. 180s (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 ... 52167 files and directories currently installed.) 180s Preparing to unpack .../0-libcurl3t64-gnutls_8.5.0-2ubuntu8_s390x.deb ... 180s Unpacking libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 180s Preparing to unpack .../1-libfwupd2_1.9.15-2_s390x.deb ... 180s Unpacking libfwupd2:s390x (1.9.15-2) over (1.9.14-1) ... 180s Preparing to unpack .../2-libblockdev3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../3-libblockdev-utils3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-utils3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../4-libblockdev-swap3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-swap3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../5-libblockdev-part3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-part3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s dpkg: libnvme1: dependency problems, but removing anyway as you requested: 180s libblockdev-nvme3:s390x depends on libnvme1 (>= 1.7.1). 180s 180s (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 ... 52174 files and directories currently installed.) 180s Removing libnvme1 (1.8-2) ... 180s Selecting previously unselected package libnvme1t64. 180s (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 ... 52167 files and directories currently installed.) 180s Preparing to unpack .../0-libnvme1t64_1.8-3_s390x.deb ... 180s Unpacking libnvme1t64 (1.8-3) ... 180s Preparing to unpack .../1-libblockdev-nvme3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-nvme3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../2-libblockdev-mdraid3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-mdraid3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../3-libblockdev-loop3_3.1.0-1build1_s390x.deb ... 180s Unpacking libblockdev-loop3:s390x (3.1.0-1build1) over (3.1.0-1) ... 180s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 180s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 180s Preparing to unpack .../5-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 180s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 180s dpkg: libext2fs2:s390x: dependency problems, but removing anyway as you requested: 180s libblockdev-fs3:s390x depends on libext2fs2 (>= 1.42.11). 180s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 180s btrfs-progs depends on libext2fs2 (>= 1.42). 180s 180s (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 ... 52175 files and directories currently installed.) 180s Removing libext2fs2:s390x (1.47.0-2ubuntu1) ... 180s Selecting previously unselected package libext2fs2t64:s390x. 180s (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 ... 52168 files and directories currently installed.) 180s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 180s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2 to /lib/s390x-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 180s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2.3 to /lib/s390x-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 180s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2 to /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 180s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2.4 to /lib/s390x-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 180s Unpacking libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 180s Setting up libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) ... 180s Setting up libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 180s (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 ... 52184 files and directories currently installed.) 180s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 180s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 180s dpkg: libreiserfscore0: dependency problems, but removing anyway as you requested: 180s btrfs-progs depends on libreiserfscore0 (>= 1:3.6.27). 180s 180s (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 ... 52184 files and directories currently installed.) 180s Removing libreiserfscore0 (1:3.6.27-7) ... 180s Selecting previously unselected package libreiserfscore0t64. 180s (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 ... 52179 files and directories currently installed.) 180s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_s390x.deb ... 180s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 180s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_s390x.deb ... 180s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 181s Preparing to unpack .../libblockdev-fs3_3.1.0-1build1_s390x.deb ... 181s Unpacking libblockdev-fs3:s390x (3.1.0-1build1) over (3.1.0-1) ... 181s Preparing to unpack .../libblockdev-crypto3_3.1.0-1build1_s390x.deb ... 181s Unpacking libblockdev-crypto3:s390x (3.1.0-1build1) over (3.1.0-1) ... 181s Preparing to unpack .../bolt_0.9.6-2build1_s390x.deb ... 181s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 181s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 181s s390-tools depends on libglib2.0-0 (>= 2.77.0). 181s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 181s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 181s 181s (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 ... 52185 files and directories currently installed.) 181s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 181s Selecting previously unselected package libglib2.0-0t64:s390x. 181s (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 ... 52160 files and directories currently installed.) 181s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 181s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 181s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 181s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 181s Preparing to unpack .../1-libjcat1_0.2.0-2build2_s390x.deb ... 181s Unpacking libjcat1:s390x (0.2.0-2build2) over (0.2.0-2) ... 181s Preparing to unpack .../2-libldap2_2.6.7+dfsg-1~exp1ubuntu6_s390x.deb ... 181s Unpacking libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 181s Preparing to unpack .../3-ubuntu-pro-client-l10n_31.2.2_s390x.deb ... 181s Unpacking ubuntu-pro-client-l10n (31.2.2) over (31.1) ... 181s Preparing to unpack .../4-ubuntu-pro-client_31.2.2_s390x.deb ... 181s Unpacking ubuntu-pro-client (31.2.2) over (31.1) ... 181s Preparing to unpack .../5-gnupg-utils_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../6-keyboxd_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s dpkg: libnpth0:s390x: dependency problems, but removing anyway as you requested: 181s gpgv depends on libnpth0 (>= 0.90). 181s gpgsm depends on libnpth0 (>= 0.90). 181s gpg-agent depends on libnpth0 (>= 0.90). 181s gpg depends on libnpth0 (>= 0.90). 181s dirmngr depends on libnpth0 (>= 0.90). 181s 181s (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 ... 52185 files and directories currently installed.) 181s Removing libnpth0:s390x (1.6-3build2) ... 181s Selecting previously unselected package libnpth0t64:s390x. 181s (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 ... 52180 files and directories currently installed.) 181s Preparing to unpack .../libnpth0t64_1.6-3.1_s390x.deb ... 181s Unpacking libnpth0t64:s390x (1.6-3.1) ... 181s Setting up libnpth0t64:s390x (1.6-3.1) ... 181s (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 ... 52186 files and directories currently installed.) 181s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Setting up gpgv (2.4.4-2ubuntu15) ... 181s (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 ... 52186 files and directories currently installed.) 181s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../1-gpg-agent_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../2-gpg_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_s390x.deb ... 181s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 181s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 181s Preparing to unpack .../5-python3-apt_2.7.7_s390x.deb ... 181s Unpacking python3-apt (2.7.7) over (2.7.6) ... 181s Preparing to unpack .../6-apt-utils_2.7.14_s390x.deb ... 181s Unpacking apt-utils (2.7.14) over (2.7.12) ... 181s dpkg: libapt-pkg6.0:s390x: dependency problems, but removing anyway as you requested: 181s apt depends on libapt-pkg6.0 (>= 2.7.12). 181s 181s (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 ... 52184 files and directories currently installed.) 181s Removing libapt-pkg6.0:s390x (2.7.12) ... 181s dpkg: libnettle8:s390x: dependency problems, but removing anyway as you requested: 181s libhogweed6:s390x depends on libnettle8. 181s libgnutls30:s390x depends on libnettle8 (>= 3.9~). 181s 181s Removing libnettle8:s390x (3.9.1-2) ... 181s Selecting previously unselected package libapt-pkg6.0t64:s390x. 181s (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 ... 52128 files and directories currently installed.) 181s Preparing to unpack .../libapt-pkg6.0t64_2.7.14_s390x.deb ... 181s Unpacking libapt-pkg6.0t64:s390x (2.7.14) ... 182s Setting up libapt-pkg6.0t64:s390x (2.7.14) ... 182s Selecting previously unselected package libnettle8t64:s390x. 182s (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 ... 52178 files and directories currently installed.) 182s Preparing to unpack .../libnettle8t64_3.9.1-2.2_s390x.deb ... 182s Unpacking libnettle8t64:s390x (3.9.1-2.2) ... 182s Setting up libnettle8t64:s390x (3.9.1-2.2) ... 182s dpkg: libhogweed6:s390x: dependency problems, but removing anyway as you requested: 182s libgnutls30:s390x depends on libhogweed6 (>= 3.6). 182s 182s (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 ... 52186 files and directories currently installed.) 182s Removing libhogweed6:s390x (3.9.1-2) ... 182s Selecting previously unselected package libhogweed6t64:s390x. 182s (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 ... 52181 files and directories currently installed.) 182s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_s390x.deb ... 182s Unpacking libhogweed6t64:s390x (3.9.1-2.2) ... 182s Setting up libhogweed6t64:s390x (3.9.1-2.2) ... 182s dpkg: libgnutls30:s390x: dependency problems, but removing anyway as you requested: 182s apt depends on libgnutls30 (>= 3.8.1). 182s 182s (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 ... 52187 files and directories currently installed.) 182s Removing libgnutls30:s390x (3.8.3-1ubuntu1) ... 182s Selecting previously unselected package libgnutls30t64:s390x. 182s (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 ... 52178 files and directories currently installed.) 182s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_s390x.deb ... 182s Unpacking libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 182s Setting up libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 182s (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 ... 52206 files and directories currently installed.) 182s Preparing to unpack .../archives/apt_2.7.14_s390x.deb ... 182s Unpacking apt (2.7.14) over (2.7.12) ... 182s Setting up apt (2.7.14) ... 182s (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 ... 52206 files and directories currently installed.) 182s Preparing to unpack .../gpgconf_2.4.4-2ubuntu15_s390x.deb ... 182s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 182s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_s390x.deb ... 182s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 182s dpkg: libreadline8:s390x: dependency problems, but removing anyway as you requested: 182s libpython3.12-stdlib:s390x depends on libreadline8 (>= 7.0~beta). 182s gawk depends on libreadline8 (>= 6.0). 182s fdisk depends on libreadline8 (>= 6.0). 182s 182s (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 ... 52206 files and directories currently installed.) 182s Removing libreadline8:s390x (8.2-3) ... 182s Selecting previously unselected package libreadline8t64:s390x. 182s (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 ... 52194 files and directories currently installed.) 182s Preparing to unpack .../libreadline8t64_8.2-4_s390x.deb ... 182s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8 to /lib/s390x-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 182s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8.2 to /lib/s390x-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 182s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8 to /lib/s390x-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 182s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8.2 to /lib/s390x-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 182s Unpacking libreadline8t64:s390x (8.2-4) ... 182s Setting up libreadline8t64:s390x (8.2-4) ... 183s (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 ... 52214 files and directories currently installed.) 183s Preparing to unpack .../gawk_1%3a5.2.1-2build2_s390x.deb ... 183s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 183s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_s390x.deb ... 183s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 183s Preparing to unpack .../libpython3.12-stdlib_3.12.2-4build3_s390x.deb ... 183s Unpacking libpython3.12-stdlib:s390x (3.12.2-4build3) over (3.12.2-1) ... 183s Preparing to unpack .../perl-base_5.38.2-3.2_s390x.deb ... 183s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 183s Setting up perl-base (5.38.2-3.2) ... 183s (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 ... 52212 files and directories currently installed.) 183s Preparing to unpack .../perl-modules-5.38_5.38.2-3.2_all.deb ... 183s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 183s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu1.1_s390x.deb ... 183s Unpacking python3-gdbm:s390x (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 183s Preparing to unpack .../man-db_2.12.0-3build4_s390x.deb ... 183s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 183s dpkg: libgdbm-compat4:s390x: dependency problems, but removing anyway as you requested: 183s libperl5.38:s390x depends on libgdbm-compat4 (>= 1.18-3). 183s 183s (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 ... 52212 files and directories currently installed.) 183s Removing libgdbm-compat4:s390x (1.23-5) ... 183s dpkg: libgdbm6:s390x: dependency problems, but removing anyway as you requested: 183s libperl5.38:s390x depends on libgdbm6 (>= 1.21). 183s 183s Removing libgdbm6:s390x (1.23-5) ... 183s Selecting previously unselected package libgdbm6t64:s390x. 183s (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 ... 52202 files and directories currently installed.) 183s Preparing to unpack .../libgdbm6t64_1.23-5.1_s390x.deb ... 183s Unpacking libgdbm6t64:s390x (1.23-5.1) ... 183s Selecting previously unselected package libgdbm-compat4t64:s390x. 183s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_s390x.deb ... 183s Unpacking libgdbm-compat4t64:s390x (1.23-5.1) ... 183s dpkg: libperl5.38:s390x: dependency problems, but removing anyway as you requested: 183s perl depends on libperl5.38 (= 5.38.2-3). 183s 183s (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 ... 52214 files and directories currently installed.) 183s Removing libperl5.38:s390x (5.38.2-3) ... 184s Selecting previously unselected package libperl5.38t64:s390x. 184s (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 ... 51692 files and directories currently installed.) 184s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_s390x.deb ... 184s Unpacking libperl5.38t64:s390x (5.38.2-3.2) ... 184s Preparing to unpack .../perl_5.38.2-3.2_s390x.deb ... 184s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 184s dpkg: libdb5.3:s390x: dependency problems, but removing anyway as you requested: 184s libsasl2-modules-db:s390x depends on libdb5.3. 184s libpam-modules:s390x depends on libdb5.3. 184s iproute2 depends on libdb5.3. 184s 184s (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 ... 52214 files and directories currently installed.) 184s Removing libdb5.3:s390x (5.3.28+dfsg2-4) ... 184s Selecting previously unselected package libdb5.3t64:s390x. 184s (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 ... 52208 files and directories currently installed.) 184s Preparing to unpack .../0-libdb5.3t64_5.3.28+dfsg2-6_s390x.deb ... 184s Unpacking libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 184s Preparing to unpack .../1-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 184s Unpacking libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 184s Preparing to unpack .../2-libsasl2-2_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 184s Unpacking libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 184s Preparing to unpack .../3-libfido2-1_1.14.0-1build1_s390x.deb ... 184s Unpacking libfido2-1:s390x (1.14.0-1build1) over (1.14.0-1) ... 184s Preparing to unpack .../4-libcryptsetup12_2%3a2.7.0-1ubuntu2_s390x.deb ... 184s Unpacking libcryptsetup12:s390x (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 184s Preparing to unpack .../5-dhcpcd-base_1%3a10.0.6-1ubuntu2_s390x.deb ... 184s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 184s dpkg: libuv1:s390x: dependency problems, but removing anyway as you requested: 184s bind9-libs:s390x depends on libuv1 (>= 1.40.0). 184s 184s (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 ... 52214 files and directories currently installed.) 184s Removing libuv1:s390x (1.48.0-1) ... 184s Selecting previously unselected package libuv1t64:s390x. 184s (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 ... 52209 files and directories currently installed.) 184s Preparing to unpack .../libuv1t64_1.48.0-1.1_s390x.deb ... 184s Unpacking libuv1t64:s390x (1.48.0-1.1) ... 184s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_s390x.deb ... 184s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 184s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_s390x.deb ... 184s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 184s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_s390x.deb ... 184s Unpacking bind9-libs:s390x (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 184s dpkg: libssl3:s390x: dependency problems, but removing anyway as you requested: 184s systemd depends on libssl3 (>= 3.0.0). 184s s390-tools depends on libssl3 (>= 3.0.0). 184s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 184s 184s (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 ... 52215 files and directories currently installed.) 184s Removing libssl3:s390x (3.0.10-1ubuntu4) ... 184s Selecting previously unselected package libssl3t64:s390x. 184s (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 ... 52204 files and directories currently installed.) 184s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_s390x.deb ... 184s Unpacking libssl3t64:s390x (3.0.13-0ubuntu2) ... 184s Setting up libssl3t64:s390x (3.0.13-0ubuntu2) ... 184s (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 ... 52217 files and directories currently installed.) 184s Preparing to unpack .../libnss-systemd_255.4-1ubuntu5_s390x.deb ... 184s Unpacking libnss-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 184s Preparing to unpack .../libudev1_255.4-1ubuntu5_s390x.deb ... 184s Unpacking libudev1:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 184s Setting up libudev1:s390x (255.4-1ubuntu5) ... 184s (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 ... 52217 files and directories currently installed.) 184s Preparing to unpack .../systemd_255.4-1ubuntu5_s390x.deb ... 184s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 185s Preparing to unpack .../udev_255.4-1ubuntu5_s390x.deb ... 185s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 185s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_s390x.deb ... 185s Unpacking libsystemd0:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 185s Setting up libsystemd0:s390x (255.4-1ubuntu5) ... 185s Setting up libcryptsetup12:s390x (2:2.7.0-1ubuntu2) ... 185s Setting up libkmod2:s390x (31+20240202-2ubuntu4) ... 185s Setting up libsystemd-shared:s390x (255.4-1ubuntu5) ... 185s Setting up systemd-dev (255.4-1ubuntu5) ... 185s Setting up systemd (255.4-1ubuntu5) ... 185s (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 ... 52217 files and directories currently installed.) 185s Preparing to unpack .../systemd-sysv_255.4-1ubuntu5_s390x.deb ... 185s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 185s Preparing to unpack .../libpam-systemd_255.4-1ubuntu5_s390x.deb ... 185s Unpacking libpam-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 185s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_s390x.deb ... 185s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 185s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 186s pam_namespace.service is a disabled or a static unit not running, not starting it. 186s (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 ... 52217 files and directories currently installed.) 186s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_s390x.deb ... 186s Unpacking libpam-modules:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 186s Setting up libpam-modules:s390x (1.5.3-5ubuntu3) ... 186s Installing new version of config file /etc/security/namespace.init ... 186s (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 ... 52215 files and directories currently installed.) 186s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 186s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 186s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 186s (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 ... 52215 files and directories currently installed.) 186s Preparing to unpack .../0-dbus-user-session_1.14.10-4ubuntu2_s390x.deb ... 186s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../1-libapparmor1_4.0.0-beta3-0ubuntu2_s390x.deb ... 186s Unpacking libapparmor1:s390x (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 186s Preparing to unpack .../2-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 186s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../3-dbus-bin_1.14.10-4ubuntu2_s390x.deb ... 186s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../4-dbus_1.14.10-4ubuntu2_s390x.deb ... 186s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../5-dbus-daemon_1.14.10-4ubuntu2_s390x.deb ... 186s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../6-libdbus-1-3_1.14.10-4ubuntu2_s390x.deb ... 186s Unpacking libdbus-1-3:s390x (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 186s Preparing to unpack .../7-libmount1_2.39.3-9ubuntu2_s390x.deb ... 186s Unpacking libmount1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 186s Setting up libmount1:s390x (2.39.3-9ubuntu2) ... 186s (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 ... 52215 files and directories currently installed.) 186s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_s390x.deb ... 186s Unpacking libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 186s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_s390x.deb ... 186s Unpacking libuuid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 186s Setting up libuuid1:s390x (2.39.3-9ubuntu2) ... 186s (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 ... 52215 files and directories currently installed.) 186s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_s390x.deb ... 186s Unpacking libfdisk1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 186s Preparing to unpack .../mount_2.39.3-9ubuntu2_s390x.deb ... 186s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 186s Preparing to unpack .../libsqlite3-0_3.45.1-1ubuntu1_s390x.deb ... 186s Unpacking libsqlite3-0:s390x (3.45.1-1ubuntu1) over (3.45.1-1) ... 186s Preparing to unpack .../dpkg_1.22.6ubuntu5_s390x.deb ... 186s Unpacking dpkg (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 186s Setting up dpkg (1.22.6ubuntu5) ... 187s Setting up libpython3.12-minimal:s390x (3.12.2-4build3) ... 187s Setting up python3.12-minimal (3.12.2-4build3) ... 188s (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 ... 52215 files and directories currently installed.) 188s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_s390x.deb ... 188s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 188s Setting up python3-minimal (3.12.2-0ubuntu1) ... 188s (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 ... 52215 files and directories currently installed.) 188s Preparing to unpack .../python3_3.12.2-0ubuntu1_s390x.deb ... 188s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 188s Preparing to unpack .../libpython3-stdlib_3.12.2-0ubuntu1_s390x.deb ... 188s Unpacking libpython3-stdlib:s390x (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 188s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_s390x.deb ... 188s Unpacking libsmartcols1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 188s Setting up libsmartcols1:s390x (2.39.3-9ubuntu2) ... 188s (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 ... 52215 files and directories currently installed.) 188s Preparing to unpack .../0-bsdextrautils_2.39.3-9ubuntu2_s390x.deb ... 188s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 188s Preparing to unpack .../1-groff-base_1.23.0-3build1_s390x.deb ... 188s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 188s Preparing to unpack .../2-pinentry-curses_1.2.1-3ubuntu4_s390x.deb ... 188s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 188s Preparing to unpack .../3-readline-common_8.2-4_all.deb ... 188s Unpacking readline-common (8.2-4) over (8.2-3) ... 188s Preparing to unpack .../4-libxml2_2.9.14+dfsg-1.3ubuntu2_s390x.deb ... 188s Unpacking libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 188s Preparing to unpack .../5-libbpf1_1%3a1.3.0-2build1_s390x.deb ... 188s Unpacking libbpf1:s390x (1:1.3.0-2build1) over (1:1.3.0-2) ... 188s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 188s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 188s iproute2 depends on libelf1 (>= 0.131). 188s 188s (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 ... 52215 files and directories currently installed.) 188s Removing libelf1:s390x (0.190-1) ... 188s Selecting previously unselected package libelf1t64:s390x. 188s (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 ... 52210 files and directories currently installed.) 188s Preparing to unpack .../libelf1t64_0.190-1.1build2_s390x.deb ... 188s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 188s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 188s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 188s Preparing to unpack .../lsof_4.95.0-1build2_s390x.deb ... 188s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 188s Preparing to unpack .../libnsl2_1.3.0-3build2_s390x.deb ... 188s Unpacking libnsl2:s390x (1.3.0-3build2) over (1.3.0-3) ... 188s dpkg: libtirpc3:s390x: dependency problems, but removing anyway as you requested: 188s iproute2 depends on libtirpc3 (>= 1.0.2). 188s 188s (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 ... 52215 files and directories currently installed.) 188s Removing libtirpc3:s390x (1.3.4+ds-1build1) ... 188s Selecting previously unselected package libtirpc3t64:s390x. 188s (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 ... 52209 files and directories currently installed.) 188s Preparing to unpack .../0-libtirpc3t64_1.3.4+ds-1.1_s390x.deb ... 188s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3 to /lib/s390x-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' 188s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3.0.0 to /lib/s390x-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 188s Unpacking libtirpc3t64:s390x (1.3.4+ds-1.1) ... 188s Preparing to unpack .../1-iproute2_6.1.0-1ubuntu5_s390x.deb ... 188s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 189s Preparing to unpack .../2-python3-yaml_6.0.1-2build1_s390x.deb ... 189s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 189s Preparing to unpack .../3-libprotobuf-c1_1.4.1-1ubuntu3_s390x.deb ... 189s Unpacking libprotobuf-c1:s390x (1.4.1-1ubuntu3) over (1.4.1-1ubuntu2) ... 189s Preparing to unpack .../4-libnghttp2-14_1.59.0-1build1_s390x.deb ... 189s Unpacking libnghttp2-14:s390x (1.59.0-1build1) over (1.59.0-1) ... 189s Preparing to unpack .../5-libproc2-0_2%3a4.0.4-4ubuntu2_s390x.deb ... 189s Unpacking libproc2-0:s390x (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 189s Preparing to unpack .../6-procps_2%3a4.0.4-4ubuntu2_s390x.deb ... 189s Unpacking procps (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 189s Preparing to unpack .../7-coreutils_9.4-3ubuntu3_s390x.deb ... 189s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 189s Setting up coreutils (9.4-3ubuntu3) ... 189s (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 ... 52220 files and directories currently installed.) 189s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_s390x.deb ... 189s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 189s Setting up util-linux (2.39.3-9ubuntu2) ... 190s fstrim.service is a disabled or a static unit not running, not starting it. 190s (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 ... 52220 files and directories currently installed.) 190s Removing libatm1:s390x (1:2.5.1-5) ... 190s (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 ... 52215 files and directories currently installed.) 190s Preparing to unpack .../file_1%3a5.45-3_s390x.deb ... 190s Unpacking file (1:5.45-3) over (1:5.45-2) ... 190s (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 ... 52215 files and directories currently installed.) 190s Removing libmagic1:s390x (1:5.45-2) ... 190s (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 ... 52205 files and directories currently installed.) 190s Preparing to unpack .../libmagic-mgc_1%3a5.45-3_s390x.deb ... 190s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 190s Selecting previously unselected package libmagic1t64:s390x. 190s Preparing to unpack .../libmagic1t64_1%3a5.45-3_s390x.deb ... 190s Unpacking libmagic1t64:s390x (1:5.45-3) ... 190s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu6_s390x.deb ... 190s Unpacking libplymouth5:s390x (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 190s (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 ... 52216 files and directories currently installed.) 190s Removing libpng16-16:s390x (1.6.43-1) ... 190s Selecting previously unselected package libpng16-16t64:s390x. 190s (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 ... 52206 files and directories currently installed.) 190s Preparing to unpack .../libpng16-16t64_1.6.43-3_s390x.deb ... 190s Unpacking libpng16-16t64:s390x (1.6.43-3) ... 190s Preparing to unpack .../multipath-tools_0.9.4-5ubuntu6_s390x.deb ... 190s Unpacking multipath-tools (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 190s dpkg: liburcu8:s390x: dependency problems, but removing anyway as you requested: 190s xfsprogs depends on liburcu8 (>= 0.13.0). 190s 190s (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 ... 52216 files and directories currently installed.) 190s Removing liburcu8:s390x (0.14.0-3) ... 190s Selecting previously unselected package liburcu8t64:s390x. 190s (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 ... 52197 files and directories currently installed.) 190s Preparing to unpack .../liburcu8t64_0.14.0-3.1_s390x.deb ... 190s Unpacking liburcu8t64:s390x (0.14.0-3.1) ... 190s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu4_s390x.deb ... 190s Unpacking liblocale-gettext-perl (1.07-6ubuntu4) over (1.07-6build1) ... 190s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_s390x.deb ... 190s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 190s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_s390x.deb ... 190s Unpacking libdebconfclient0:s390x (0.271ubuntu2) over (0.271ubuntu1) ... 190s Setting up libdebconfclient0:s390x (0.271ubuntu2) ... 190s (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 ... 52217 files and directories currently installed.) 190s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 190s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 190s Setting up libsemanage-common (3.5-1build4) ... 190s (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 ... 52217 files and directories currently installed.) 190s Preparing to unpack .../libsemanage2_3.5-1build4_s390x.deb ... 190s Unpacking libsemanage2:s390x (3.5-1build4) over (3.5-1build2) ... 190s Setting up libsemanage2:s390x (3.5-1build4) ... 190s (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 ... 52217 files and directories currently installed.) 190s Preparing to unpack .../install-info_7.1-3build1_s390x.deb ... 190s Unpacking install-info (7.1-3build1) over (7.1-3) ... 190s Setting up install-info (7.1-3build1) ... 190s (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 ... 52217 files and directories currently installed.) 190s Preparing to unpack .../00-libss2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 190s Unpacking libss2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 190s Preparing to unpack .../01-dmsetup_2%3a1.02.185-3ubuntu2_s390x.deb ... 190s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 190s Preparing to unpack .../02-eject_2.39.3-9ubuntu2_s390x.deb ... 190s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 190s Preparing to unpack .../03-krb5-locales_1.20.1-6ubuntu1_all.deb ... 190s Unpacking krb5-locales (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 190s Preparing to unpack .../04-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 190s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 190s Preparing to unpack .../05-libslang2_2.3.3-3build1_s390x.deb ... 190s Unpacking libslang2:s390x (2.3.3-3build1) over (2.3.3-3) ... 190s Preparing to unpack .../06-libtext-charwidth-perl_0.04-11build2_s390x.deb ... 190s Unpacking libtext-charwidth-perl:s390x (0.04-11build2) over (0.04-11build1) ... 190s Preparing to unpack .../07-libtext-iconv-perl_1.7-8build2_s390x.deb ... 190s Unpacking libtext-iconv-perl:s390x (1.7-8build2) over (1.7-8build1) ... 190s Preparing to unpack .../08-python-apt-common_2.7.7_all.deb ... 190s Unpacking python-apt-common (2.7.7) over (2.7.6) ... 190s Preparing to unpack .../09-python3-setuptools_68.1.2-2ubuntu1_all.deb ... 190s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 190s Preparing to unpack .../10-python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 191s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 191s Preparing to unpack .../11-rsyslog_8.2312.0-3ubuntu7_s390x.deb ... 191s Unpacking rsyslog (8.2312.0-3ubuntu7) over (8.2312.0-3ubuntu3) ... 191s Preparing to unpack .../12-vim-tiny_2%3a9.1.0016-1ubuntu6_s390x.deb ... 191s Unpacking vim-tiny (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 191s Preparing to unpack .../13-vim-common_2%3a9.1.0016-1ubuntu6_all.deb ... 191s Unpacking vim-common (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 191s Selecting previously unselected package xdg-user-dirs. 191s Preparing to unpack .../14-xdg-user-dirs_0.18-1_s390x.deb ... 191s Unpacking xdg-user-dirs (0.18-1) ... 191s Preparing to unpack .../15-xxd_2%3a9.1.0016-1ubuntu6_s390x.deb ... 191s Unpacking xxd (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 191s Preparing to unpack .../16-apparmor_4.0.0-beta3-0ubuntu2_s390x.deb ... 191s Unpacking apparmor (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 191s Preparing to unpack .../17-ftp_20230507-2build1_all.deb ... 191s Unpacking ftp (20230507-2build1) over (20230507-2) ... 191s Preparing to unpack .../18-inetutils-telnet_2%3a2.5-3ubuntu3_s390x.deb ... 191s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 191s Preparing to unpack .../19-info_7.1-3build1_s390x.deb ... 191s Unpacking info (7.1-3build1) over (7.1-3) ... 191s Preparing to unpack .../20-libxmuu1_2%3a1.1.3-3build1_s390x.deb ... 191s Unpacking libxmuu1:s390x (2:1.1.3-3build1) over (2:1.1.3-3) ... 191s Preparing to unpack .../21-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_s390x.deb ... 191s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 191s Selecting previously unselected package manpages. 191s Preparing to unpack .../22-manpages_6.05.01-1_all.deb ... 191s Unpacking manpages (6.05.01-1) ... 191s Preparing to unpack .../23-mtr-tiny_0.95-1.1build1_s390x.deb ... 191s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 191s Preparing to unpack .../24-plymouth-theme-ubuntu-text_24.004.60-1ubuntu6_s390x.deb ... 191s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 192s Preparing to unpack .../25-plymouth_24.004.60-1ubuntu6_s390x.deb ... 192s Unpacking plymouth (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 192s Preparing to unpack .../26-telnet_0.17+2.5-3ubuntu3_all.deb ... 192s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 192s Preparing to unpack .../27-usb.ids_2024.03.18-1_all.deb ... 192s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 192s Preparing to unpack .../28-xz-utils_5.6.0-0.2_s390x.deb ... 192s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 192s Selecting previously unselected package libllvm18:s390x. 192s Preparing to unpack .../29-libllvm18_1%3a18.1.2-1ubuntu2_s390x.deb ... 192s Unpacking libllvm18:s390x (1:18.1.2-1ubuntu2) ... 192s Selecting previously unselected package libclang-cpp18. 192s Preparing to unpack .../30-libclang-cpp18_1%3a18.1.2-1ubuntu2_s390x.deb ... 192s Unpacking libclang-cpp18 (1:18.1.2-1ubuntu2) ... 193s Selecting previously unselected package libbpfcc:s390x. 193s Preparing to unpack .../31-libbpfcc_0.29.1+ds-1ubuntu4_s390x.deb ... 193s Unpacking libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 193s Selecting previously unselected package python3-bpfcc. 193s Preparing to unpack .../32-python3-bpfcc_0.29.1+ds-1ubuntu4_all.deb ... 193s Unpacking python3-bpfcc (0.29.1+ds-1ubuntu4) ... 193s Selecting previously unselected package ieee-data. 193s Preparing to unpack .../33-ieee-data_20220827.1_all.deb ... 193s Unpacking ieee-data (20220827.1) ... 193s Selecting previously unselected package python3-netaddr. 193s Preparing to unpack .../34-python3-netaddr_0.8.0-2ubuntu1_all.deb ... 193s Unpacking python3-netaddr (0.8.0-2ubuntu1) ... 193s Selecting previously unselected package bpfcc-tools. 193s Preparing to unpack .../35-bpfcc-tools_0.29.1+ds-1ubuntu4_all.deb ... 193s Unpacking bpfcc-tools (0.29.1+ds-1ubuntu4) ... 193s Selecting previously unselected package libclang1-18. 193s Preparing to unpack .../36-libclang1-18_1%3a18.1.2-1ubuntu2_s390x.deb ... 193s Unpacking libclang1-18 (1:18.1.2-1ubuntu2) ... 193s Selecting previously unselected package libdw1t64:s390x. 193s Preparing to unpack .../37-libdw1t64_0.190-1.1build2_s390x.deb ... 193s Unpacking libdw1t64:s390x (0.190-1.1build2) ... 193s Selecting previously unselected package bpftrace. 193s Preparing to unpack .../38-bpftrace_0.20.2-1ubuntu1_s390x.deb ... 193s Unpacking bpftrace (0.20.2-1ubuntu1) ... 193s Preparing to unpack .../39-cryptsetup-bin_2%3a2.7.0-1ubuntu2_s390x.deb ... 193s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 193s Preparing to unpack .../40-dpkg-dev_1.22.6ubuntu5_all.deb ... 193s Unpacking dpkg-dev (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 193s Preparing to unpack .../41-libdpkg-perl_1.22.6ubuntu5_all.deb ... 193s Unpacking libdpkg-perl (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 194s Selecting previously unselected package fonts-dejavu-mono. 194s Preparing to unpack .../42-fonts-dejavu-mono_2.37-8_all.deb ... 194s Unpacking fonts-dejavu-mono (2.37-8) ... 194s Selecting previously unselected package fonts-dejavu-core. 194s Preparing to unpack .../43-fonts-dejavu-core_2.37-8_all.deb ... 194s Unpacking fonts-dejavu-core (2.37-8) ... 194s Selecting previously unselected package fontconfig-config. 194s Preparing to unpack .../44-fontconfig-config_2.15.0-1.1ubuntu1_s390x.deb ... 194s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 194s Preparing to unpack .../45-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 194s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 194s Selecting previously unselected package hwdata. 194s Preparing to unpack .../46-hwdata_0.379-1_all.deb ... 194s Unpacking hwdata (0.379-1) ... 194s Preparing to unpack .../47-libibverbs1_50.0-2build1_s390x.deb ... 194s Unpacking libibverbs1:s390x (50.0-2build1) over (50.0-2) ... 194s Preparing to unpack .../48-ibverbs-providers_50.0-2build1_s390x.deb ... 194s Unpacking ibverbs-providers:s390x (50.0-2build1) over (50.0-2) ... 194s Selecting previously unselected package libaio1t64:s390x. 194s Preparing to unpack .../49-libaio1t64_0.3.113-6_s390x.deb ... 194s Unpacking libaio1t64:s390x (0.3.113-6) ... 194s Selecting previously unselected package libatm1t64:s390x. 194s Preparing to unpack .../50-libatm1t64_1%3a2.5.1-5.1_s390x.deb ... 194s Unpacking libatm1t64:s390x (1:2.5.1-5.1) ... 194s Selecting previously unselected package libc-dev-bin. 194s Preparing to unpack .../51-libc-dev-bin_2.39-0ubuntu6_s390x.deb ... 194s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 194s Selecting previously unselected package libfreetype6:s390x. 194s Preparing to unpack .../52-libfreetype6_2.13.2+dfsg-1build2_s390x.deb ... 194s Unpacking libfreetype6:s390x (2.13.2+dfsg-1build2) ... 194s Selecting previously unselected package libfontconfig1:s390x. 194s Preparing to unpack .../53-libfontconfig1_2.15.0-1.1ubuntu1_s390x.deb ... 194s Unpacking libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 194s Selecting previously unselected package libjpeg-turbo8:s390x. 194s Preparing to unpack .../54-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... 194s Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 194s Selecting previously unselected package libjpeg8:s390x. 194s Preparing to unpack .../55-libjpeg8_8c-2ubuntu11_s390x.deb ... 194s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 194s Selecting previously unselected package libdeflate0:s390x. 194s Preparing to unpack .../56-libdeflate0_1.19-1_s390x.deb ... 194s Unpacking libdeflate0:s390x (1.19-1) ... 194s Selecting previously unselected package libjbig0:s390x. 194s Preparing to unpack .../57-libjbig0_2.1-6.1ubuntu1_s390x.deb ... 194s Unpacking libjbig0:s390x (2.1-6.1ubuntu1) ... 194s Selecting previously unselected package libsharpyuv0:s390x. 194s Preparing to unpack .../58-libsharpyuv0_1.3.2-0.4build2_s390x.deb ... 194s Unpacking libsharpyuv0:s390x (1.3.2-0.4build2) ... 194s Selecting previously unselected package libwebp7:s390x. 194s Preparing to unpack .../59-libwebp7_1.3.2-0.4build2_s390x.deb ... 194s Unpacking libwebp7:s390x (1.3.2-0.4build2) ... 194s Selecting previously unselected package libtiff6:s390x. 194s Preparing to unpack .../60-libtiff6_4.5.1+git230720-4ubuntu1_s390x.deb ... 194s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 194s Selecting previously unselected package libxpm4:s390x. 194s Preparing to unpack .../61-libxpm4_1%3a3.5.17-1build1_s390x.deb ... 194s Unpacking libxpm4:s390x (1:3.5.17-1build1) ... 194s Selecting previously unselected package libgd3:s390x. 194s Preparing to unpack .../62-libgd3_2.3.3-9ubuntu3_s390x.deb ... 194s Unpacking libgd3:s390x (2.3.3-9ubuntu3) ... 194s Selecting previously unselected package libc-devtools. 194s Preparing to unpack .../63-libc-devtools_2.39-0ubuntu6_s390x.deb ... 194s Unpacking libc-devtools (2.39-0ubuntu6) ... 194s Selecting previously unselected package linux-libc-dev:s390x. 194s Preparing to unpack .../64-linux-libc-dev_6.8.0-20.20_s390x.deb ... 194s Unpacking linux-libc-dev:s390x (6.8.0-20.20) ... 194s Selecting previously unselected package libcrypt-dev:s390x. 194s Preparing to unpack .../65-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 194s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 194s Selecting previously unselected package rpcsvc-proto. 194s Preparing to unpack .../66-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 194s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 194s Selecting previously unselected package libc6-dev:s390x. 194s Preparing to unpack .../67-libc6-dev_2.39-0ubuntu6_s390x.deb ... 194s Unpacking libc6-dev:s390x (2.39-0ubuntu6) ... 194s Preparing to unpack .../68-libevent-core-2.1-7_2.1.12-stable-9build1_s390x.deb ... 194s Unpacking libevent-core-2.1-7:s390x (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 194s Preparing to unpack .../69-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 194s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 194s Selecting previously unselected package linux-modules-6.8.0-20-generic. 194s Preparing to unpack .../70-linux-modules-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 194s Unpacking linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 194s Selecting previously unselected package linux-image-6.8.0-20-generic. 194s Preparing to unpack .../71-linux-image-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 194s Unpacking linux-image-6.8.0-20-generic (6.8.0-20.20) ... 195s Selecting previously unselected package linux-modules-extra-6.8.0-20-generic. 195s Preparing to unpack .../72-linux-modules-extra-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 195s Unpacking linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 195s Preparing to unpack .../73-linux-generic_6.8.0-20.20+1_s390x.deb ... 195s Unpacking linux-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 195s Preparing to unpack .../74-linux-image-generic_6.8.0-20.20+1_s390x.deb ... 195s Unpacking linux-image-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 195s Preparing to unpack .../75-linux-virtual_6.8.0-20.20+1_s390x.deb ... 195s Unpacking linux-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 195s Preparing to unpack .../76-linux-image-virtual_6.8.0-20.20+1_s390x.deb ... 195s Unpacking linux-image-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 195s Preparing to unpack .../77-linux-headers-virtual_6.8.0-20.20+1_s390x.deb ... 195s Unpacking linux-headers-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 195s Selecting previously unselected package linux-headers-6.8.0-20. 195s Preparing to unpack .../78-linux-headers-6.8.0-20_6.8.0-20.20_all.deb ... 195s Unpacking linux-headers-6.8.0-20 (6.8.0-20.20) ... 197s Selecting previously unselected package linux-headers-6.8.0-20-generic. 197s Preparing to unpack .../79-linux-headers-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 197s Unpacking linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 197s Preparing to unpack .../80-linux-headers-generic_6.8.0-20.20+1_s390x.deb ... 197s Unpacking linux-headers-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 197s Selecting previously unselected package linux-tools-common. 197s Preparing to unpack .../81-linux-tools-common_6.8.0-20.20_all.deb ... 197s Unpacking linux-tools-common (6.8.0-20.20) ... 197s Selecting previously unselected package linux-tools-6.8.0-20. 197s Preparing to unpack .../82-linux-tools-6.8.0-20_6.8.0-20.20_s390x.deb ... 197s Unpacking linux-tools-6.8.0-20 (6.8.0-20.20) ... 198s Selecting previously unselected package linux-tools-6.8.0-20-generic. 198s Preparing to unpack .../83-linux-tools-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 198s Unpacking linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 198s Selecting previously unselected package manpages-dev. 198s Preparing to unpack .../84-manpages-dev_6.05.01-1_all.deb ... 198s Unpacking manpages-dev (6.05.01-1) ... 198s Preparing to unpack .../85-python3-distutils_3.12.2-3ubuntu1.1_all.deb ... 198s Unpacking python3-distutils (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 198s Preparing to unpack .../86-python3-lib2to3_3.12.2-3ubuntu1.1_all.deb ... 198s Unpacking python3-lib2to3 (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 198s Preparing to unpack .../87-python3-pyrsistent_0.20.0-1build1_s390x.deb ... 198s Unpacking python3-pyrsistent:s390x (0.20.0-1build1) over (0.20.0-1) ... 198s Preparing to unpack .../88-python3-typing-extensions_4.10.0-1_all.deb ... 198s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 198s Preparing to unpack .../89-s390-tools-data_2.31.0-0ubuntu3_all.deb ... 198s Unpacking s390-tools-data (2.31.0-0ubuntu3) over (2.31.0-0ubuntu1) ... 198s Selecting previously unselected package ubuntu-kernel-accessories. 198s Preparing to unpack .../90-ubuntu-kernel-accessories_1.536build1_s390x.deb ... 198s Unpacking ubuntu-kernel-accessories (1.536build1) ... 198s Preparing to unpack .../91-kpartx_0.9.4-5ubuntu6_s390x.deb ... 198s Unpacking kpartx (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 198s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 198s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 198s Setting up motd-news-config (13ubuntu8) ... 198s Setting up libtext-iconv-perl:s390x (1.7-8build2) ... 198s Setting up libtext-charwidth-perl:s390x (0.04-11build2) ... 198s Setting up libsharpyuv0:s390x (1.3.2-0.4build2) ... 198s Setting up liburcu8t64:s390x (0.14.0-3.1) ... 198s Setting up tcpdump (4.99.4-3ubuntu2) ... 198s Setting up libibverbs1:s390x (50.0-2build1) ... 198s Setting up systemd-sysv (255.4-1ubuntu5) ... 198s Setting up ubuntu-kernel-accessories (1.536build1) ... 198s Setting up libapparmor1:s390x (4.0.0-beta3-0ubuntu2) ... 198s Setting up libatm1t64:s390x (1:2.5.1-5.1) ... 198s Setting up libgdbm6t64:s390x (1.23-5.1) ... 198s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 198s Setting up libxpm4:s390x (1:3.5.17-1build1) ... 198s Setting up libgdbm-compat4t64:s390x (1.23-5.1) ... 198s Setting up xdg-user-dirs (0.18-1) ... 198s Setting up ibverbs-providers:s390x (50.0-2build1) ... 198s Setting up linux-headers-6.8.0-20 (6.8.0-20.20) ... 198s Setting up libmagic-mgc (1:5.45-3) ... 198s Setting up gawk (1:5.2.1-2build2) ... 198s Setting up manpages (6.05.01-1) ... 198s Setting up libtirpc-common (1.3.4+ds-1.1) ... 198s Setting up libbrotli1:s390x (1.1.0-2build1) ... 198s Setting up libsqlite3-0:s390x (3.45.1-1ubuntu1) ... 198s Setting up libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) ... 198s Setting up libuv1t64:s390x (1.48.0-1.1) ... 198s Setting up libmagic1t64:s390x (1:5.45-3) ... 198s Setting up rsyslog (8.2312.0-3ubuntu7) ... 198s info: The user `syslog' is already a member of `adm'. 199s Setting up libpsl5t64:s390x (0.21.2-1.1) ... 199s Setting up libnghttp2-14:s390x (1.59.0-1build1) ... 199s Setting up libdeflate0:s390x (1.19-1) ... 199s Setting up linux-libc-dev:s390x (6.8.0-20.20) ... 199s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 199s Setting up libnss-systemd:s390x (255.4-1ubuntu5) ... 199s Setting up krb5-locales (1.20.1-6ubuntu1) ... 199s Setting up file (1:5.45-3) ... 199s Setting up kmod (31+20240202-2ubuntu4) ... 200s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 200s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 200s Setting up libprotobuf-c1:s390x (1.4.1-1ubuntu3) ... 200s Setting up libjbig0:s390x (2.1-6.1ubuntu1) ... 200s Setting up xxd (2:9.1.0016-1ubuntu6) ... 200s Setting up libelf1t64:s390x (0.190-1.1build2) ... 200s Setting up libkrb5support0:s390x (1.20.1-6ubuntu1) ... 200s Setting up libdw1t64:s390x (0.190-1.1build2) ... 200s Setting up linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 200s Setting up eject (2.39.3-9ubuntu2) ... 200s Setting up apparmor (4.0.0-beta3-0ubuntu2) ... 200s Installing new version of config file /etc/apparmor.d/abstractions/authentication ... 200s Installing new version of config file /etc/apparmor.d/abstractions/crypto ... 200s Installing new version of config file /etc/apparmor.d/abstractions/kde-open5 ... 200s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 200s Installing new version of config file /etc/apparmor.d/code ... 200s Installing new version of config file /etc/apparmor.d/firefox ... 200s Reloading AppArmor profiles 201s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 201s No schema files found: doing nothing. 201s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 201s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 201s Setting up vim-common (2:9.1.0016-1ubuntu6) ... 201s Setting up libqrtr-glib0:s390x (1.2.2-1ubuntu3) ... 201s Setting up libslang2:s390x (2.3.3-3build1) ... 201s Setting up libnvme1t64 (1.8-3) ... 201s Setting up mtr-tiny (0.95-1.1build1) ... 201s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 201s Setting up librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) ... 201s Setting up libdbus-1-3:s390x (1.14.10-4ubuntu2) ... 201s Setting up xz-utils (5.6.0-0.2) ... 201s Setting up perl-modules-5.38 (5.38.2-3.2) ... 201s Setting up libproc2-0:s390x (2:4.0.4-4ubuntu2) ... 201s Setting up libblockdev-utils3:s390x (3.1.0-1build1) ... 201s Setting up fonts-dejavu-mono (2.37-8) ... 201s Setting up libpng16-16t64:s390x (1.6.43-3) ... 201s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 201s Setting up libevent-core-2.1-7:s390x (2.1.12-stable-9build1) ... 201s Setting up udev (255.4-1ubuntu5) ... 202s Setting up libss2:s390x (1.47.0-2.4~exp1ubuntu2) ... 202s Setting up usb.ids (2024.03.18-1) ... 202s Setting up sudo (1.9.15p5-3ubuntu3) ... 202s Setting up fonts-dejavu-core (2.37-8) ... 202s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 202s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 202s Setting up libk5crypto3:s390x (1.20.1-6ubuntu1) ... 202s Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 202s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 202s Setting up libwebp7:s390x (1.3.2-0.4build2) ... 202s Setting up libfdisk1:s390x (2.39.3-9ubuntu2) ... 202s Setting up libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 202s Setting up libblockdev-nvme3:s390x (3.1.0-1build1) ... 202s Setting up libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) ... 202s Setting up libblockdev-fs3:s390x (3.1.0-1build1) ... 202s Setting up libaio1t64:s390x (0.3.113-6) ... 202s Setting up python-apt-common (2.7.7) ... 202s Setting up mount (2.39.3-9ubuntu2) ... 202s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 202s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 203s uuidd.service is a disabled or a static unit not running, not starting it. 203s Setting up libmm-glib0:s390x (1.23.4-0ubuntu1) ... 203s Setting up groff-base (1.23.0-3build1) ... 203s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 203s Setting up libplymouth5:s390x (24.004.60-1ubuntu6) ... 203s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 203s Setting up kpartx (0.9.4-5ubuntu6) ... 203s Setting up procps (2:4.0.4-4ubuntu2) ... 203s Setting up gpgconf (2.4.4-2ubuntu15) ... 203s Setting up libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) ... 203s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 203s Setting up libkrb5-3:s390x (1.20.1-6ubuntu1) ... 203s Setting up libpython3.11-minimal:s390x (3.11.8-1build4) ... 203s Setting up libperl5.38t64:s390x (5.38.2-3.2) ... 203s Setting up tnftp (20230507-2build1) ... 203s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 203s Setting up libfido2-1:s390x (1.14.0-1build1) ... 203s Setting up libc-dev-bin (2.39-0ubuntu6) ... 203s Setting up openssl (3.0.13-0ubuntu2) ... 203s Setting up linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 203s Setting up readline-common (8.2-4) ... 203s Setting up libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) ... 203s Setting up libxmuu1:s390x (2:1.1.3-3build1) ... 203s Setting up dbus-bin (1.14.10-4ubuntu2) ... 203s Setting up info (7.1-3build1) ... 203s Setting up liblocale-gettext-perl (1.07-6ubuntu4) ... 203s Setting up gpg (2.4.4-2ubuntu15) ... 203s Setting up libgudev-1.0-0:s390x (1:238-3ubuntu2) ... 203s Setting up libpolkit-gobject-1-0:s390x (124-1ubuntu1) ... 203s Setting up libbpf1:s390x (1:1.3.0-2build1) ... 203s Setting up libmbim-glib4:s390x (1.31.2-0ubuntu2) ... 203s Setting up rsync (3.2.7-1build1) ... 204s rsync.service is a disabled or a static unit not running, not starting it. 204s Setting up libudisks2-0:s390x (2.10.1-6) ... 204s Setting up bolt (0.9.6-2build1) ... 204s bolt.service is a disabled or a static unit not running, not starting it. 204s Setting up s390-tools-data (2.31.0-0ubuntu3) ... 204s Setting up libllvm18:s390x (1:18.1.2-1ubuntu2) ... 204s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 204s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 204s Setting up python3.11-minimal (3.11.8-1build4) ... 205s Setting up libclang1-18 (1:18.1.2-1ubuntu2) ... 205s Setting up manpages-dev (6.05.01-1) ... 205s Setting up linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 206s Setting up apt-utils (2.7.14) ... 206s Setting up gpg-agent (2.4.4-2ubuntu15) ... 206s Setting up libpython3.12-stdlib:s390x (3.12.2-4build3) ... 206s Setting up libblockdev-mdraid3:s390x (3.1.0-1build1) ... 206s Setting up wget (1.21.4-1ubuntu2) ... 206s Setting up linux-image-6.8.0-20-generic (6.8.0-20.20) ... 207s I: /boot/vmlinuz is now a symlink to vmlinuz-6.8.0-20-generic 207s I: /boot/initrd.img is now a symlink to initrd.img-6.8.0-20-generic 207s Setting up libblockdev-swap3:s390x (3.1.0-1build1) ... 207s Setting up plymouth (24.004.60-1ubuntu6) ... 207s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 207s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 210s Not invoking zipl: initrd doesn't exist yet 210s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 210s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 210s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 211s Setting up libxmlb2:s390x (0.3.15-1build1) ... 211s Setting up btrfs-progs (6.6.3-1.1build1) ... 211s Setting up libpython3.11-stdlib:s390x (3.11.8-1build4) ... 211s Setting up python3.12 (3.12.2-4build3) ... 212s Setting up libblockdev-loop3:s390x (3.1.0-1build1) ... 212s Setting up gpgsm (2.4.4-2ubuntu15) ... 212s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 212s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 212s update-initramfs: deferring update (trigger activated) 212s e2scrub_all.service is a disabled or a static unit not running, not starting it. 212s Setting up libparted2t64:s390x (3.6-3.1build2) ... 212s Setting up linux-headers-generic (6.8.0-20.20+1) ... 212s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 212s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 212s Setting up vim-tiny (2:9.1.0016-1ubuntu6) ... 212s Setting up libnetplan1:s390x (1.0-1) ... 212s Setting up man-db (2.12.0-3build4) ... 212s Updating database of manual pages ... 214s man-db.service is a disabled or a static unit not running, not starting it. 214s Setting up libblockdev3:s390x (3.1.0-1build1) ... 214s Setting up fdisk (2.39.3-9ubuntu2) ... 214s Setting up multipath-tools (0.9.4-5ubuntu6) ... 215s Setting up libjson-glib-1.0-0:s390x (1.8.0-2build1) ... 215s Setting up libblockdev-part3:s390x (3.1.0-1build1) ... 215s Setting up libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) ... 215s Setting up hwdata (0.379-1) ... 215s Setting up perl (5.38.2-3.2) ... 215s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) ... 215s update-initramfs: deferring update (trigger activated) 215s Setting up libfreetype6:s390x (2.13.2+dfsg-1build2) ... 215s Setting up gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) ... 215s Setting up dbus (1.14.10-4ubuntu2) ... 215s A reboot is required to replace the running dbus-daemon. 215s Please reboot the system when convenient. 215s Setting up shared-mime-info (2.4-1build1) ... 215s Setting up libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) ... 215s Setting up ftp (20230507-2build1) ... 215s Setting up keyboxd (2.4.4-2ubuntu15) ... 216s Setting up libdpkg-perl (1.22.6ubuntu5) ... 216s Setting up libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) ... 216s Setting up libssh-4:s390x (0.10.6-2build1) ... 216s Setting up ieee-data (20220827.1) ... 216s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 216s Setting up libpam-systemd:s390x (255.4-1ubuntu5) ... 216s Setting up libpolkit-agent-1-0:s390x (124-1ubuntu1) ... 216s Setting up libc6-dev:s390x (2.39-0ubuntu6) ... 216s Setting up libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 216s Setting up libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 216s Setting up linux-image-virtual (6.8.0-20.20+1) ... 216s Setting up netplan-generator (1.0-1) ... 216s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 216s Setting up libclang-cpp18 (1:18.1.2-1ubuntu2) ... 216s Setting up libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 216s Setting up linux-tools-common (6.8.0-20.20) ... 216s Setting up libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 216s Setting up libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) ... 216s Setting up libpython3-stdlib:s390x (3.12.2-0ubuntu1) ... 216s Setting up systemd-resolved (255.4-1ubuntu5) ... 216s Setting up python3.11 (3.11.8-1build4) ... 217s Setting up linux-image-generic (6.8.0-20.20+1) ... 217s Setting up telnet (0.17+2.5-3ubuntu3) ... 217s Setting up linux-headers-virtual (6.8.0-20.20+1) ... 217s Setting up linux-generic (6.8.0-20.20+1) ... 217s Setting up libcurl4t64:s390x (8.5.0-2ubuntu8) ... 217s Setting up bpftrace (0.20.2-1ubuntu1) ... 217s Setting up bind9-libs:s390x (1:9.18.24-0ubuntu3) ... 217s Setting up libtirpc3t64:s390x (1.3.4+ds-1.1) ... 217s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 217s Setting up iproute2 (6.1.0-1ubuntu5) ... 217s Setting up openssh-client (1:9.6p1-3ubuntu11) ... 217s Setting up libgusb2:s390x (0.4.8-1build1) ... 217s Setting up libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 217s Setting up parted (3.6-3.1build2) ... 217s Setting up libqmi-glib5:s390x (1.35.2-0ubuntu1) ... 217s Setting up linux-tools-6.8.0-20 (6.8.0-20.20) ... 217s Setting up python3 (3.12.2-0ubuntu1) ... 218s Setting up libjcat1:s390x (0.2.0-2build2) ... 218s Setting up dpkg-dev (1.22.6ubuntu5) ... 218s Setting up linux-virtual (6.8.0-20.20+1) ... 218s Setting up dirmngr (2.4.4-2ubuntu15) ... 218s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 218s Setting up linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 218s Setting up python3-cryptography (41.0.7-4build2) ... 218s Setting up python3-gi (3.47.0-3build1) ... 218s Setting up libgd3:s390x (2.3.3-9ubuntu3) ... 218s Setting up python3-typing-extensions (4.10.0-1) ... 218s Setting up lsof (4.95.0-1build2) ... 218s Setting up python3-pyrsistent:s390x (0.20.0-1build1) ... 218s Setting up python3-netaddr (0.8.0-2ubuntu1) ... 219s Setting up libnsl2:s390x (1.3.0-3build2) ... 219s Setting up gnupg (2.4.4-2ubuntu15) ... 219s Setting up python3-netplan (1.0-1) ... 219s Setting up curl (8.5.0-2ubuntu8) ... 219s Setting up libvolume-key1:s390x (0.3.12-7build1) ... 219s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 219s Setting up python3-lib2to3 (3.12.2-3ubuntu1.1) ... 219s Setting up python3-bpfcc (0.29.1+ds-1ubuntu4) ... 219s Setting up libc-devtools (2.39-0ubuntu6) ... 219s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 219s Setting up python3-distutils (3.12.2-3ubuntu1.1) ... 219s python3.12: can't get files for byte-compilation 219s Setting up openssh-sftp-server (1:9.6p1-3ubuntu11) ... 219s Setting up python3-dbus (1.3.2-5build2) ... 219s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 220s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 220s Setting up openssh-server (1:9.6p1-3ubuntu11) ... 220s Replacing config file /etc/ssh/sshd_config with new version 222s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 222s Setting up libblockdev-crypto3:s390x (3.1.0-1build1) ... 222s Setting up python3-gdbm:s390x (3.12.2-3ubuntu1.1) ... 222s Setting up python3-apt (2.7.7) ... 223s Setting up libfwupd2:s390x (1.9.15-2) ... 223s Setting up python3-yaml (6.0.1-2build1) ... 223s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 223s Setting up netplan.io (1.0-1) ... 223s Setting up bpfcc-tools (0.29.1+ds-1ubuntu4) ... 223s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 223s Setting up ubuntu-pro-client (31.2.2) ... 224s Setting up fwupd (1.9.15-2) ... 224s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 224s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 224s Setting up ubuntu-pro-client-l10n (31.2.2) ... 224s Setting up udisks2 (2.10.1-6) ... 225s Processing triggers for libc-bin (2.39-0ubuntu6) ... 225s Processing triggers for ufw (0.36.2-5) ... 225s Processing triggers for debianutils (5.17) ... 225s Processing triggers for install-info (7.1-3build1) ... 225s Processing triggers for initramfs-tools (0.142ubuntu23) ... 225s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 225s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 230s Not invoking zipl: initrd doesn't exist yet 230s Processing triggers for linux-image-6.8.0-20-generic (6.8.0-20.20) ... 230s /etc/kernel/postinst.d/initramfs-tools: 230s update-initramfs: Generating /boot/initrd.img-6.8.0-20-generic 230s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 232s Using config file '/etc/zipl.conf' 232s Building bootmap in '/boot' 232s Adding IPL section 'ubuntu' (default) 232s Preparing boot device for LD-IPL: vda (0000). 232s Done. 232s /etc/kernel/postinst.d/zz-zipl: 232s Using config file '/etc/zipl.conf' 232s Building bootmap in '/boot' 232s Adding IPL section 'ubuntu' (default) 232s Preparing boot device for LD-IPL: vda (0000). 232s Done. 233s Reading package lists... 234s Building dependency tree... 234s Reading state information... 234s The following packages will be REMOVED: 234s libaio1* libnetplan0* python3-distutils* python3-lib2to3* 234s 0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded. 234s After this operation, 1445 kB disk space will be freed. 234s (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 ... 81786 files and directories currently installed.) 234s Removing libaio1:s390x (0.3.113-5) ... 234s Removing libnetplan0:s390x (0.107.1-3) ... 234s Removing python3-distutils (3.12.2-3ubuntu1.1) ... 234s Removing python3-lib2to3 (3.12.2-3ubuntu1.1) ... 234s Processing triggers for libc-bin (2.39-0ubuntu6) ... 235s autopkgtest [20:35:35]: rebooting testbed after setup commands that affected boot 265s autopkgtest [20:36:04]: testbed running kernel: Linux 6.8.0-20-generic #20-Ubuntu SMP Mon Mar 18 10:49:25 UTC 2024 268s autopkgtest [20:36:08]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-image 270s Get:1 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (dsc) [2243 B] 270s Get:2 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (tar) [468 kB] 270s Get:3 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (diff) [11.7 kB] 270s gpgv: Signature made Sun Oct 8 16:40:13 2023 UTC 270s gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 270s gpgv: issuer "rafael@debian.org" 270s gpgv: Can't check signature: No public key 270s dpkg-source: warning: cannot verify inline signature for ./octave-image_2.14.0-5.dsc: no acceptable signature found 270s autopkgtest [20:36:10]: testing package octave-image version 2.14.0-5 271s autopkgtest [20:36:11]: build not needed 272s autopkgtest [20:36:12]: test command1: preparing testbed 275s Reading package lists... 275s Building dependency tree... 275s Reading state information... 275s Starting pkgProblemResolver with broken count: 0 275s Starting 2 pkgProblemResolver with broken count: 0 275s Done 275s The following additional packages will be installed: 275s aglfn autoconf automake autopoint autotools-dev cme cpp cpp-13 275s cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 275s dh-octave dh-octave-autopkgtest dh-strip-nondeterminism diffstat dwz 275s fontconfig fonts-freefont-otf g++ g++-13 g++-13-s390x-linux-gnu 275s g++-s390x-linux-gnu gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu 275s gettext gfortran gfortran-13 gfortran-13-s390x-linux-gnu 275s gfortran-s390x-linux-gnu gnuplot-data gnuplot-nox hdf5-helpers 275s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 275s libamd3 libapp-cmd-perl libapt-pkg-perl libarchive-zip-perl libarpack2t64 275s libarray-intspan-perl libasan8 libasound2-data libasound2t64 libatomic1 275s libavahi-client3 libavahi-common-data libavahi-common3 275s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 275s libblas-dev libblas3 libboolean-perl libbtf2 libcairo2 libcamd3 275s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 275s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 275s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 275s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 275s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 275s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 275s libconvert-binhex-perl libcpanel-json-xs-perl libcups2t64 275s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 275s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 275s libdata-validate-domain-perl libdata-validate-ip-perl 275s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 275s libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl 275s libdouble-conversion3 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 275s libdynaloader-functions-perl libegl-mesa0 libegl1 libemail-address-xs-perl 275s libencode-locale-perl liberror-perl libevent-pthreads-2.1-7 275s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 275s libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 275s libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 275s libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl 275s libfile-which-perl libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 275s libfont-ttf-perl libfontenc1 libgbm1 libgcc-13-dev 275s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 275s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglpk40 libglu1-mesa 275s libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 275s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 275s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 275s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 275s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 275s libheif-plugin-libde265 libheif1 libhtml-form-perl 275s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 275s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 275s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 275s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 275s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 275s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 275s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 275s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 275s libitm1 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 275s libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 liblapack-dev liblapack3 275s liblcms2-2 liblist-compare-perl liblist-moreutils-perl 275s liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl 275s libllvm17t64 liblog-any-adapter-screen-perl liblog-any-perl 275s liblog-log4perl-perl libltdl7 liblua5.4-0 liblwp-mediatypes-perl 275s liblwp-protocol-https-perl libmailtools-perl libmarkdown2 libmd4c0 libmetis5 275s libmime-tools-perl libmldbm-perl libmodule-implementation-perl 275s libmodule-pluggable-perl libmodule-runtime-perl libmoo-perl 275s libmoox-aliases-perl libmouse-perl libmousex-nativetraits-perl 275s libmousex-strictconstructor-perl libmp3lame0 libmpc3 libmpg123-0 275s libmro-compat-perl libmtdev1t64 libmumps-5.6t64 libmunge2 275s libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 275s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 275s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 275s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 275s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 275s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 275s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 275s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 275s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 275s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 275s libpod-pom-perl libportaudio2 libproc-processtable-perl 275s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 275s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 275s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 275s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 275s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 275s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 275s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 275s libsereal-encoder-perl libset-intspan-perl libsm6 libsndfile1 275s libsoftware-copyright-perl libsoftware-license-perl 275s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 275s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 275s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 275s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 275s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 275s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 275s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 275s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 275s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 275s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 275s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 275s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 275s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 275s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 275s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 275s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 275s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 275s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 275s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libubsan1 275s libumfpack6 libunicode-utf8-perl liburi-perl libvariable-magic-perl 275s libvorbis0a libvorbisenc2 libvulkan1 libwacom-common libwacom9 275s libwayland-client0 libwayland-server0 libwebpmux3 libwmflite-0.2-7 275s libwww-mechanize-perl libwww-perl libwww-robotrules-perl libx11-dev 275s libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 275s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 275s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 275s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 275s libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 275s libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 275s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 275s libxnvctrl0 libxrandr2 libxrender1 libxs-parse-keyword-perl 275s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 275s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 275s lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave octave-common 275s octave-dev octave-image openmpi-bin openmpi-common patchutils 275s perl-openssl-defaults po-debconf t1utils tex-common texinfo texinfo-lib 275s unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 275s xserver-common xtrans-dev xvfb zlib1g-dev 275s Suggested packages: 275s autoconf-archive gnu-standards autoconf-doc libconfig-model-cursesui-perl 275s libconfig-model-itself-perl cpp-doc gcc-13-locales cpp-13-doc dh-make 275s g++-multilib g++-13-multilib gcc-13-doc gcc-multilib flex bison gdb gcc-doc 275s gcc-13-multilib gdb-s390x-linux-gnu gettext-doc libasprintf-dev 275s libgettextpo-dev gfortran-multilib gfortran-doc gfortran-13-multilib 275s gfortran-13-doc libcoarrays-dev gnuplot-doc alsa-utils libasound2-plugins 275s liblapack-doc libconfig-model-openssh-perl libterm-readline-perl-perl 275s | libterm-readline-gnu-perl cups-common libcurl4-doc libidn-dev libkrb5-dev 275s libldap2-dev librtmp-dev libssh2-1-dev pkg-config libfftw3-doc 275s libfftw3-mpi-dev libxml-parser-perl libiodbc2-dev default-libmysqlclient-dev 275s graphicsmagick-dbg libhdf5-doc libheif-plugin-ffmpegdec 275s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 275s libheif-plugin-j2kenc libheif-plugin-rav1e libheif-plugin-svtenc 275s libdata-dump-perl libio-compress-brotli-perl jackd2 liblcms2-utils 275s libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl 275s libcrypt-ssleay-perl ncurses-doc opus-tools libscalar-number-perl 275s libqscintilla2-doc qgnomeplatform-qt5 qt5-image-formats-plugins readline-doc 275s scalapack-doc libssl-doc libstdc++-13-doc libbareword-filehandles-perl 275s libmultidimensional-perl libxstring-perl libdatetime-format-rfc3339-perl 275s libtool-doc gcj-jdk libbusiness-isbn-perl libregexp-ipv6-perl libwacom-bin 275s libauthen-ntlm-perl libx11-doc libxcb-doc binutils-multiarch m4-doc 275s opencl-icd libmail-box-perl texlive-base texlive-latex-base 275s texlive-plain-generic texlive-fonts-recommended zip 275s Recommended packages: 275s libconfig-model-approx-perl libconfig-model-lcdproc-perl 275s libconfig-model-openssh-perl libconfig-model-systemd-perl 275s libconfig-model-tkui-perl fonts-liberation groff alsa-ucm-conf 275s alsa-topology-conf libcgi-fast-perl libclass-c3-xs-perl libfuse-perl 275s libarchive-cpio-perl libgl1-amber-dri ghostscript fonts-urw-base35 275s libheif-plugin-aomenc libheif-plugin-x265 libhtml-format-perl 275s libjson-xs-perl liblist-someutils-xs-perl libipc-shareable-perl 275s liblog-dispatch-perl libfreezethaw-perl libmath-base85-perl 275s libauthen-sasl-perl libsocket6-perl libpackage-stash-xs-perl 275s libtie-ixhash-perl qttranslations5-l10n libqt5svg5 qt5-gtk-platformtheme 275s qtwayland5 libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc 275s | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libre-engine-re2-perl 275s libtypes-serialiser-perl libltdl-dev mesa-vulkan-drivers | vulkan-icd 275s libdata-dump-perl libhttp-daemon-perl libxml-sax-expat-perl libopenblas0 275s | libblis4 pstoedit epstool default-jre-headless octave-doc 275s libmail-sendmail-perl xfonts-base 275s The following NEW packages will be installed: 275s aglfn autoconf automake autopkgtest-satdep autopoint autotools-dev cme cpp 275s cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 275s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 275s diffstat dwz fontconfig fonts-freefont-otf g++ g++-13 g++-13-s390x-linux-gnu 275s g++-s390x-linux-gnu gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu 275s gettext gfortran gfortran-13 gfortran-13-s390x-linux-gnu 275s gfortran-s390x-linux-gnu gnuplot-data gnuplot-nox hdf5-helpers 275s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 275s libamd3 libapp-cmd-perl libapt-pkg-perl libarchive-zip-perl libarpack2t64 275s libarray-intspan-perl libasan8 libasound2-data libasound2t64 libatomic1 275s libavahi-client3 libavahi-common-data libavahi-common3 275s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 275s libblas-dev libblas3 libboolean-perl libbtf2 libcairo2 libcamd3 275s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 275s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 275s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 275s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 275s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 275s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 275s libconvert-binhex-perl libcpanel-json-xs-perl libcups2t64 275s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 275s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 275s libdata-validate-domain-perl libdata-validate-ip-perl 275s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 275s libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl 275s libdouble-conversion3 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 275s libdynaloader-functions-perl libegl-mesa0 libegl1 libemail-address-xs-perl 275s libencode-locale-perl liberror-perl libevent-pthreads-2.1-7 275s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 275s libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 275s libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 275s libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl 275s libfile-which-perl libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 275s libfont-ttf-perl libfontenc1 libgbm1 libgcc-13-dev 275s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 275s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglpk40 libglu1-mesa 275s libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 275s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 275s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 275s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 275s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 275s libheif-plugin-libde265 libheif1 libhtml-form-perl 275s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 275s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 275s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 275s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 275s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 275s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 275s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 275s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 276s libitm1 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 276s libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 liblapack-dev liblapack3 276s liblcms2-2 liblist-compare-perl liblist-moreutils-perl 276s liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl 276s libllvm17t64 liblog-any-adapter-screen-perl liblog-any-perl 276s liblog-log4perl-perl libltdl7 liblua5.4-0 liblwp-mediatypes-perl 276s liblwp-protocol-https-perl libmailtools-perl libmarkdown2 libmd4c0 libmetis5 276s libmime-tools-perl libmldbm-perl libmodule-implementation-perl 276s libmodule-pluggable-perl libmodule-runtime-perl libmoo-perl 276s libmoox-aliases-perl libmouse-perl libmousex-nativetraits-perl 276s libmousex-strictconstructor-perl libmp3lame0 libmpc3 libmpg123-0 276s libmro-compat-perl libmtdev1t64 libmumps-5.6t64 libmunge2 276s libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 276s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 276s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 276s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 276s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 276s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 276s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 276s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 276s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 276s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 276s libpod-pom-perl libportaudio2 libproc-processtable-perl 276s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 276s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 276s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 276s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 276s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 276s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 276s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 276s libsereal-encoder-perl libset-intspan-perl libsm6 libsndfile1 276s libsoftware-copyright-perl libsoftware-license-perl 276s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 276s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 276s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 276s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 276s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 276s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 276s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 276s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 276s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 276s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 276s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 276s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 276s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 276s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 276s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 276s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 276s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 276s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 276s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libubsan1 276s libumfpack6 libunicode-utf8-perl liburi-perl libvariable-magic-perl 276s libvorbis0a libvorbisenc2 libvulkan1 libwacom-common libwacom9 276s libwayland-client0 libwayland-server0 libwebpmux3 libwmflite-0.2-7 276s libwww-mechanize-perl libwww-perl libwww-robotrules-perl libx11-dev 276s libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 276s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 276s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 276s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 276s libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 276s libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 276s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 276s libxnvctrl0 libxrandr2 libxrender1 libxs-parse-keyword-perl 276s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 276s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 276s lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave octave-common 276s octave-dev octave-image openmpi-bin openmpi-common patchutils 276s perl-openssl-defaults po-debconf t1utils tex-common texinfo texinfo-lib 276s unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 276s xserver-common xtrans-dev xvfb zlib1g-dev 276s 0 upgraded, 465 newly installed, 0 to remove and 1 not upgraded. 276s Need to get 218 MB/218 MB of archives. 276s After this operation, 800 MB of additional disk space will be used. 276s Get:1 /tmp/autopkgtest.9NXjyD/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [760 B] 276s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x m4 s390x 1.4.19-4 [255 kB] 276s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x autoconf all 2.71-3 [339 kB] 276s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x autotools-dev all 20220109.1 [44.9 kB] 276s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 276s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x autopoint all 0.21-14ubuntu1 [422 kB] 276s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libcapture-tiny-perl all 0.48-2 [20.2 kB] 276s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparams-util-perl s390x 1.102-2build2 [21.1 kB] 276s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libsub-install-perl all 0.929-1 [9764 B] 276s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libdata-optlist-perl all 0.114-1 [9708 B] 276s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libb-hooks-op-check-perl s390x 0.22-3 [9560 B] 276s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libdynaloader-functions-perl all 0.003-3 [12.1 kB] 276s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevel-callchecker-perl s390x 0.008-2build2 [13.5 kB] 276s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparams-classify-perl s390x 0.015-2build4 [20.6 kB] 276s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libmodule-runtime-perl all 0.016-2 [16.4 kB] 276s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libtry-tiny-perl all 0.31-2 [20.8 kB] 277s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libmodule-implementation-perl all 0.09-2 [12.0 kB] 277s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libpackage-stash-perl all 0.40-1 [19.5 kB] 277s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x libclass-load-perl all 0.25-2 [12.7 kB] 277s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libio-stringy-perl all 2.111-3 [55.8 kB] 277s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libparams-validate-perl s390x 1.31-2build2 [55.0 kB] 277s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libsub-exporter-perl all 0.990-1 [49.0 kB] 277s Get:23 http://ftpmaster.internal/ubuntu noble/universe s390x libgetopt-long-descriptive-perl all 0.111-1 [25.5 kB] 277s Get:24 http://ftpmaster.internal/ubuntu noble/universe s390x libio-tiecombine-perl all 1.005-3 [9464 B] 277s Get:25 http://ftpmaster.internal/ubuntu noble/universe s390x libmodule-pluggable-perl all 5.2-4 [20.0 kB] 277s Get:26 http://ftpmaster.internal/ubuntu noble/universe s390x libstring-rewriteprefix-perl all 0.009-1 [6310 B] 277s Get:27 http://ftpmaster.internal/ubuntu noble/universe s390x libapp-cmd-perl all 0.336-1 [62.1 kB] 277s Get:28 http://ftpmaster.internal/ubuntu noble/universe s390x libboolean-perl all 0.46-3 [8430 B] 277s Get:29 http://ftpmaster.internal/ubuntu noble/universe s390x libsub-uplevel-perl all 0.2800-3 [11.6 kB] 277s Get:30 http://ftpmaster.internal/ubuntu noble/universe s390x libtest-exception-perl all 0.43-3 [13.4 kB] 277s Get:31 http://ftpmaster.internal/ubuntu noble/universe s390x libcarp-assert-more-perl all 2.3.0-1 [17.6 kB] 277s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libfile-which-perl all 1.27-2 [12.5 kB] 277s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libfile-homedir-perl all 1.006-2 [37.0 kB] 277s Get:34 http://ftpmaster.internal/ubuntu noble/universe s390x libclone-choose-perl all 0.010-2 [7738 B] 277s Get:35 http://ftpmaster.internal/ubuntu noble/universe s390x libhash-merge-perl all 0.302-1 [13.0 kB] 277s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libjson-perl all 4.10000-1 [81.9 kB] 277s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libexporter-tiny-perl all 1.006002-1 [36.8 kB] 277s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x liblist-moreutils-xs-perl s390x 0.430-3build4 [47.4 kB] 277s Get:39 http://ftpmaster.internal/ubuntu noble/universe s390x liblist-moreutils-perl all 0.430-2 [38.2 kB] 277s Get:40 http://ftpmaster.internal/ubuntu noble/universe s390x liblog-log4perl-perl all 1.57-1 [345 kB] 277s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmouse-perl s390x 2.5.10-1build7 [134 kB] 277s Get:42 http://ftpmaster.internal/ubuntu noble/universe s390x libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 277s Get:43 http://ftpmaster.internal/ubuntu noble/universe s390x libmousex-strictconstructor-perl all 0.02-3 [4582 B] 277s Get:44 http://ftpmaster.internal/ubuntu noble/universe s390x libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 277s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libpath-tiny-perl all 0.144-1 [47.7 kB] 277s Get:46 http://ftpmaster.internal/ubuntu noble/universe s390x libpod-pom-perl all 2.01-4 [61.3 kB] 277s Get:47 http://ftpmaster.internal/ubuntu noble/universe s390x libregexp-common-perl all 2017060201-3 [171 kB] 277s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libyaml-tiny-perl all 1.74-1 [25.3 kB] 277s Get:49 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-perl all 2.153-3 [408 kB] 277s Get:50 http://ftpmaster.internal/ubuntu noble/universe s390x libyaml-pp-perl all 0.38.0-1 [105 kB] 277s Get:51 http://ftpmaster.internal/ubuntu noble/universe s390x cme all 1.040-1 [64.8 kB] 277s Get:52 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 277s Get:53 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 277s Get:54 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [9935 kB] 278s Get:55 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-21ubuntu1 [1026 B] 278s Get:56 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 278s Get:57 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 278s Get:58 http://ftpmaster.internal/ubuntu noble/main s390x libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 278s Get:59 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240315-1ubuntu1 [50.0 kB] 278s Get:60 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240315-1ubuntu1 [151 kB] 278s Get:61 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240315-1ubuntu1 [31.1 kB] 278s Get:62 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240315-1ubuntu1 [9396 B] 278s Get:63 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240315-1ubuntu1 [2997 kB] 279s Get:64 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240315-1ubuntu1 [1186 kB] 279s Get:65 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-21ubuntu1 [1003 kB] 279s Get:66 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [19.1 MB] 280s Get:67 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-21ubuntu1 [469 kB] 280s Get:68 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 280s Get:69 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 280s Get:70 http://ftpmaster.internal/ubuntu noble/main s390x libtool all 2.4.7-7 [166 kB] 280s Get:71 http://ftpmaster.internal/ubuntu noble/main s390x dh-autoreconf all 20 [16.1 kB] 280s Get:72 http://ftpmaster.internal/ubuntu noble/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 280s Get:73 http://ftpmaster.internal/ubuntu noble/main s390x libsub-override-perl all 0.10-1 [10.0 kB] 280s Get:74 http://ftpmaster.internal/ubuntu noble/main s390x libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 280s Get:75 http://ftpmaster.internal/ubuntu noble/main s390x dh-strip-nondeterminism all 1.13.1-1 [5362 B] 280s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x debugedit s390x 1:5.0-5build1 [50.5 kB] 280s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dwz s390x 0.15-1build5 [122 kB] 280s Get:78 http://ftpmaster.internal/ubuntu noble/main s390x gettext s390x 0.21-14ubuntu1 [917 kB] 280s Get:79 http://ftpmaster.internal/ubuntu noble/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 280s Get:80 http://ftpmaster.internal/ubuntu noble/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 280s Get:81 http://ftpmaster.internal/ubuntu noble/main s390x debhelper all 13.14.1ubuntu5 [869 kB] 280s Get:82 http://ftpmaster.internal/ubuntu noble/universe s390x aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 280s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x gnuplot-data all 6.0.0+dfsg1-1ubuntu2 [75.3 kB] 280s Get:84 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 280s Get:85 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-render0 s390x 1.15-1 [17.0 kB] 280s Get:86 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 280s Get:87 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 280s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcairo2 s390x 1.18.0-1ubuntu1 [589 kB] 280s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblua5.4-0 s390x 5.4.6-3build1 [179 kB] 280s Get:90 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig s390x 2.15.0-1.1ubuntu1 [191 kB] 280s Get:91 http://ftpmaster.internal/ubuntu noble/main s390x libgraphite2-3 s390x 1.3.14-2 [90.4 kB] 280s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libharfbuzz0b s390x 8.3.0-2build1 [515 kB] 280s Get:93 http://ftpmaster.internal/ubuntu noble/main s390x libthai-data all 0.1.29-2 [158 kB] 280s Get:94 http://ftpmaster.internal/ubuntu noble/main s390x libdatrie1 s390x 0.2.13-3 [22.6 kB] 280s Get:95 http://ftpmaster.internal/ubuntu noble/main s390x libthai0 s390x 0.1.29-2 [20.6 kB] 280s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpango-1.0-0 s390x 1.52.1+ds-1 [242 kB] 280s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangoft2-1.0-0 s390x 1.52.1+ds-1 [44.2 kB] 280s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangocairo-1.0-0 s390x 1.52.1+ds-1 [28.7 kB] 280s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwebpmux3 s390x 1.3.2-0.4build2 [25.4 kB] 280s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x gnuplot-nox s390x 6.0.0+dfsg1-1ubuntu2 [1023 kB] 280s Get:101 http://ftpmaster.internal/ubuntu noble/universe s390x fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 280s Get:102 http://ftpmaster.internal/ubuntu noble/universe s390x dh-octave-autopkgtest all 1.8.0 [10.1 kB] 281s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg-perl s390x 0.1.40build5 [70.1 kB] 281s Get:104 http://ftpmaster.internal/ubuntu noble/main s390x libarray-intspan-perl all 2.004-2 [25.0 kB] 281s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libyaml-libyaml-perl s390x 0.89+ds-1build1 [32.4 kB] 281s Get:106 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 281s Get:107 http://ftpmaster.internal/ubuntu noble/universe s390x libexporter-lite-perl all 0.09-2 [9748 B] 281s Get:108 http://ftpmaster.internal/ubuntu noble/main s390x libencode-locale-perl all 1.05-3 [11.6 kB] 281s Get:109 http://ftpmaster.internal/ubuntu noble/main s390x libtimedate-perl all 2.3300-2 [34.0 kB] 281s Get:110 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-date-perl all 6.06-1 [10.2 kB] 281s Get:111 http://ftpmaster.internal/ubuntu noble/main s390x libfile-listing-perl all 6.16-1 [11.3 kB] 281s Get:112 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tagset-perl all 3.20-6 [11.3 kB] 281s Get:113 http://ftpmaster.internal/ubuntu noble/main s390x liburi-perl all 5.27-1 [88.0 kB] 281s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhtml-parser-perl s390x 3.81-1build2 [87.8 kB] 281s Get:115 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tree-perl all 5.07-3 [200 kB] 281s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclone-perl s390x 0.46-1build2 [10.7 kB] 281s Get:117 http://ftpmaster.internal/ubuntu noble/main s390x libio-html-perl all 1.004-3 [15.9 kB] 281s Get:118 http://ftpmaster.internal/ubuntu noble/main s390x liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 281s Get:119 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-message-perl all 6.45-1ubuntu1 [78.2 kB] 281s Get:120 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-cookies-perl all 6.11-1 [18.2 kB] 281s Get:121 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-negotiate-perl all 6.01-2 [12.4 kB] 281s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-openssl-defaults s390x 7build1 [6542 B] 281s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnet-ssleay-perl s390x 1.94-1build2 [319 kB] 282s Get:124 http://ftpmaster.internal/ubuntu noble/main s390x libio-socket-ssl-perl all 2.085-1 [195 kB] 282s Get:125 http://ftpmaster.internal/ubuntu noble/main s390x libnet-http-perl all 6.23-1 [22.3 kB] 282s Get:126 http://ftpmaster.internal/ubuntu noble/main s390x liblwp-protocol-https-perl all 6.13-1 [9006 B] 282s Get:127 http://ftpmaster.internal/ubuntu noble/main s390x libwww-robotrules-perl all 6.02-1 [12.6 kB] 282s Get:128 http://ftpmaster.internal/ubuntu noble/main s390x libwww-perl all 6.76-1 [138 kB] 282s Get:129 http://ftpmaster.internal/ubuntu noble/main s390x liberror-perl all 0.17029-2 [25.6 kB] 282s Get:130 http://ftpmaster.internal/ubuntu noble/universe s390x libparse-debcontrol-perl all 2.005-6 [20.4 kB] 282s Get:131 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-copyright-perl all 0.012-2 [17.4 kB] 282s Get:132 http://ftpmaster.internal/ubuntu noble/universe s390x libalgorithm-c3-perl all 0.11-2 [10.2 kB] 282s Get:133 http://ftpmaster.internal/ubuntu noble/universe s390x libclass-c3-perl all 0.35-2 [18.4 kB] 282s Get:134 http://ftpmaster.internal/ubuntu noble/universe s390x libmro-compat-perl all 0.15-2 [10.1 kB] 282s Get:135 http://ftpmaster.internal/ubuntu noble/universe s390x libdata-section-perl all 0.200008-1 [11.6 kB] 282s Get:136 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-template-perl all 1.61-1 [48.5 kB] 282s Get:137 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-license-perl all 0.104006-1 [117 kB] 282s Get:138 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 282s Get:139 http://ftpmaster.internal/ubuntu noble/main s390x libsort-versions-perl all 1.62-3 [7378 B] 282s Get:140 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-reform-perl all 1.20-5 [35.4 kB] 282s Get:141 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-autoformat-perl all 1.750000-2 [29.8 kB] 282s Get:142 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 282s Get:143 http://ftpmaster.internal/ubuntu noble/universe s390x libtoml-tiny-perl all 0.16-1 [22.0 kB] 282s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libindirect-perl s390x 0.39-2build3 [22.3 kB] 282s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxs-parse-keyword-perl s390x 0.39-1build2 [55.6 kB] 282s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxs-parse-sublike-perl s390x 0.21-2build2 [40.6 kB] 282s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libobject-pad-perl s390x 0.808-1build2 [111 kB] 282s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsyntax-keyword-try-perl s390x 0.29-1build2 [24.8 kB] 282s Get:149 http://ftpmaster.internal/ubuntu noble/main s390x libio-interactive-perl all 1.025-1 [10.4 kB] 282s Get:150 http://ftpmaster.internal/ubuntu noble/main s390x liblog-any-perl all 1.717-1 [73.2 kB] 282s Get:151 http://ftpmaster.internal/ubuntu noble/main s390x liblog-any-adapter-screen-perl all 0.140-2 [12.4 kB] 282s Get:152 http://ftpmaster.internal/ubuntu noble/main s390x libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 282s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libvariable-magic-perl s390x 0.63-1build2 [35.5 kB] 282s Get:154 http://ftpmaster.internal/ubuntu noble/main s390x libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 282s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsub-identify-perl s390x 0.14-3build2 [9912 B] 282s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsub-name-perl s390x 0.27-1build2 [10.8 kB] 282s Get:157 http://ftpmaster.internal/ubuntu noble/main s390x libnamespace-clean-perl all 0.27-2 [14.0 kB] 282s Get:158 http://ftpmaster.internal/ubuntu noble/main s390x libnumber-compare-perl all 0.03-3 [5974 B] 282s Get:159 http://ftpmaster.internal/ubuntu noble/main s390x libtext-glob-perl all 0.11-3 [6780 B] 283s Get:160 http://ftpmaster.internal/ubuntu noble/main s390x libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 283s Get:161 http://ftpmaster.internal/ubuntu noble/main s390x libpod-parser-perl all 1.67-1 [80.6 kB] 283s Get:162 http://ftpmaster.internal/ubuntu noble/main s390x libpod-constants-perl all 0.19-2 [16.3 kB] 283s Get:163 http://ftpmaster.internal/ubuntu noble/main s390x libset-intspan-perl all 1.19-3 [24.8 kB] 283s Get:164 http://ftpmaster.internal/ubuntu noble/main s390x libstring-copyright-perl all 0.003014-1 [20.5 kB] 283s Get:165 http://ftpmaster.internal/ubuntu noble/main s390x libstring-escape-perl all 2010.002-3 [16.1 kB] 283s Get:166 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-pattern-license-perl all 3.11.0-1 [85.8 kB] 283s Get:167 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 283s Get:168 http://ftpmaster.internal/ubuntu noble/main s390x libstring-license-perl all 0.0.9-2ubuntu1 [35.0 kB] 283s Get:169 http://ftpmaster.internal/ubuntu noble/main s390x licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 283s Get:170 http://ftpmaster.internal/ubuntu noble/main s390x diffstat s390x 1.66-1 [32.4 kB] 283s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libberkeleydb-perl s390x 0.64-2build2 [116 kB] 283s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclass-xsaccessor-perl s390x 1.19-4build3 [34.9 kB] 283s Get:173 http://ftpmaster.internal/ubuntu noble/main s390x libconfig-tiny-perl all 2.30-1 [14.7 kB] 283s Get:174 http://ftpmaster.internal/ubuntu noble/main s390x libconst-fast-perl all 0.014-2 [8034 B] 283s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcpanel-json-xs-perl s390x 4.37-1build2 [117 kB] 283s Get:176 http://ftpmaster.internal/ubuntu noble/main s390x libaliased-perl all 0.34-3 [12.8 kB] 283s Get:177 http://ftpmaster.internal/ubuntu noble/main s390x libclass-data-inheritable-perl all 0.08-3 [8084 B] 283s Get:178 http://ftpmaster.internal/ubuntu noble/main s390x libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 283s Get:179 http://ftpmaster.internal/ubuntu noble/main s390x libexception-class-perl all 1.45-1 [28.6 kB] 283s Get:180 http://ftpmaster.internal/ubuntu noble/main s390x libiterator-perl all 0.03+ds1-2 [18.8 kB] 283s Get:181 http://ftpmaster.internal/ubuntu noble/main s390x libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 283s Get:182 http://ftpmaster.internal/ubuntu noble/main s390x libdata-dpath-perl all 0.59-1 [39.2 kB] 283s Get:183 http://ftpmaster.internal/ubuntu noble/main s390x libnet-domain-tld-perl all 1.75-3 [29.4 kB] 283s Get:184 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-domain-perl all 0.10-1.1 [9992 B] 283s Get:185 http://ftpmaster.internal/ubuntu noble/main s390x libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 283s Get:186 http://ftpmaster.internal/ubuntu noble/main s390x libnet-netmask-perl all 2.0002-2 [24.8 kB] 283s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnetaddr-ip-perl s390x 4.079+dfsg-2build3 [80.7 kB] 283s Get:188 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-ip-perl all 0.31-1 [17.2 kB] 283s Get:189 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-uri-perl all 0.07-3 [10.8 kB] 283s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevel-size-perl s390x 0.83-2build3 [20.0 kB] 283s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libemail-address-xs-perl s390x 1.05-1build3 [29.4 kB] 283s Get:192 http://ftpmaster.internal/ubuntu noble/main s390x libipc-system-simple-perl all 1.30-2 [22.3 kB] 283s Get:193 http://ftpmaster.internal/ubuntu noble/main s390x libfile-basedir-perl all 0.09-2 [14.4 kB] 283s Get:194 http://ftpmaster.internal/ubuntu noble/main s390x libfile-find-rule-perl all 0.34-3 [24.4 kB] 283s Get:195 http://ftpmaster.internal/ubuntu noble/main s390x libio-string-perl all 1.08-4 [11.1 kB] 283s Get:196 http://ftpmaster.internal/ubuntu noble/main s390x libfont-ttf-perl all 1.06-2 [323 kB] 284s Get:197 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 284s Get:198 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 284s Get:199 http://ftpmaster.internal/ubuntu noble/main s390x libipc-run3-perl all 0.049-1 [28.8 kB] 284s Get:200 http://ftpmaster.internal/ubuntu noble/main s390x libjson-maybexs-perl all 1.004005-1 [11.3 kB] 284s Get:201 http://ftpmaster.internal/ubuntu noble/main s390x liblist-compare-perl all 0.55-2 [62.9 kB] 284s Get:202 http://ftpmaster.internal/ubuntu noble/main s390x liblist-someutils-perl all 0.59-1 [30.4 kB] 284s Get:203 http://ftpmaster.internal/ubuntu noble/main s390x liblist-utilsby-perl all 0.12-2 [14.9 kB] 284s Get:204 http://ftpmaster.internal/ubuntu noble/main s390x libmldbm-perl all 2.05-4 [16.0 kB] 284s Get:205 http://ftpmaster.internal/ubuntu noble/main s390x libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 284s Get:206 http://ftpmaster.internal/ubuntu noble/main s390x libimport-into-perl all 1.002005-2 [10.7 kB] 284s Get:207 http://ftpmaster.internal/ubuntu noble/main s390x librole-tiny-perl all 2.002004-1 [16.3 kB] 284s Get:208 http://ftpmaster.internal/ubuntu noble/main s390x libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 284s Get:209 http://ftpmaster.internal/ubuntu noble/main s390x libmoo-perl all 2.005005-1 [47.4 kB] 284s Get:210 http://ftpmaster.internal/ubuntu noble/main s390x libstrictures-perl all 2.000006-1 [16.3 kB] 284s Get:211 http://ftpmaster.internal/ubuntu noble/main s390x libmoox-aliases-perl all 0.001006-2 [6796 B] 284s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperlio-gzip-perl s390x 0.20-1build3 [14.7 kB] 284s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperlio-utf8-strict-perl s390x 0.010-1build2 [11.2 kB] 284s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc-processtable-perl s390x 0.636-1build2 [36.6 kB] 284s Get:215 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-wildcards-perl all 1.05-3 [12.9 kB] 284s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsereal-decoder-perl s390x 5.004+ds-1build2 [106 kB] 284s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsereal-encoder-perl s390x 5.004+ds-1build2 [111 kB] 285s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libterm-readkey-perl s390x 2.38-2build3 [22.9 kB] 285s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-levenshteinxs-perl s390x 0.03-5build3 [8276 B] 285s Get:220 http://ftpmaster.internal/ubuntu noble/main s390x libmarkdown2 s390x 2.2.7-2 [37.2 kB] 285s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-markdown-discount-perl s390x 0.16-1build2 [12.1 kB] 285s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdata-messagepack-perl s390x 1.02-1build3 [31.9 kB] 285s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-xslate-perl s390x 3.5.9-1build4 [163 kB] 285s Get:224 http://ftpmaster.internal/ubuntu noble/main s390x libtime-duration-perl all 1.21-2 [12.3 kB] 285s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtime-moment-perl s390x 0.44-2build3 [75.8 kB] 285s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libunicode-utf8-perl s390x 0.62-2build2 [19.1 kB] 285s Get:227 http://ftpmaster.internal/ubuntu noble/main s390x libcgi-pm-perl all 4.63-1 [185 kB] 285s Get:228 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-form-perl all 6.11-1 [32.1 kB] 285s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwww-mechanize-perl all 2.18-1ubuntu1 [93.1 kB] 285s Get:230 http://ftpmaster.internal/ubuntu noble/main s390x libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 285s Get:231 http://ftpmaster.internal/ubuntu noble/main s390x libxml-sax-base-perl all 1.09-3 [18.9 kB] 285s Get:232 http://ftpmaster.internal/ubuntu noble/main s390x libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] 285s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml-libxml-perl s390x 2.0207+dfsg+really+2.0134-1build3 [312 kB] 285s Get:234 http://ftpmaster.internal/ubuntu noble/main s390x lzip s390x 1.24.1-1 [89.8 kB] 285s Get:235 http://ftpmaster.internal/ubuntu noble/main s390x lzop s390x 1.04-2build2 [83.1 kB] 285s Get:236 http://ftpmaster.internal/ubuntu noble/main s390x patchutils s390x 0.4.2-1build2 [77.3 kB] 285s Get:237 http://ftpmaster.internal/ubuntu noble/main s390x t1utils s390x 1.41-4build2 [61.5 kB] 285s Get:238 http://ftpmaster.internal/ubuntu noble/main s390x unzip s390x 6.0-28ubuntu3 [180 kB] 286s Get:239 http://ftpmaster.internal/ubuntu noble/main s390x lintian all 2.117.0ubuntu1 [1065 kB] 286s Get:240 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-dpkg-perl all 3.004 [174 kB] 286s Get:241 http://ftpmaster.internal/ubuntu noble/main s390x libconvert-binhex-perl all 1.125-3 [27.1 kB] 286s Get:242 http://ftpmaster.internal/ubuntu noble/main s390x libnet-smtp-ssl-perl all 1.04-2 [6218 B] 286s Get:243 http://ftpmaster.internal/ubuntu noble/main s390x libmailtools-perl all 2.21-2 [80.4 kB] 286s Get:244 http://ftpmaster.internal/ubuntu noble/main s390x libmime-tools-perl all 5.514-1 [187 kB] 286s Get:245 http://ftpmaster.internal/ubuntu noble/main s390x libsuitesparseconfig7 s390x 1:7.6.1+dfsg-1 [12.7 kB] 286s Get:246 http://ftpmaster.internal/ubuntu noble/universe s390x libamd3 s390x 1:7.6.1+dfsg-1 [34.7 kB] 286s Get:247 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 286s Get:248 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240315-1ubuntu1 [600 kB] 287s Get:249 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 287s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libarpack2t64 s390x 3.9.1-1.1build1 [113 kB] 287s Get:251 http://ftpmaster.internal/ubuntu noble/universe s390x libccolamd3 s390x 1:7.6.1+dfsg-1 [32.8 kB] 287s Get:252 http://ftpmaster.internal/ubuntu noble/universe s390x libcamd3 s390x 1:7.6.1+dfsg-1 [29.4 kB] 287s Get:253 http://ftpmaster.internal/ubuntu noble/main s390x libcolamd3 s390x 1:7.6.1+dfsg-1 [23.4 kB] 287s Get:254 http://ftpmaster.internal/ubuntu noble/universe s390x libcholmod5 s390x 1:7.6.1+dfsg-1 [908 kB] 288s Get:255 http://ftpmaster.internal/ubuntu noble/universe s390x libcxsparse4 s390x 1:7.6.1+dfsg-1 [95.2 kB] 288s Get:256 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-double3 s390x 3.3.10-1ubuntu2 [512 kB] 288s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-single3 s390x 3.3.10-1ubuntu2 [481 kB] 288s Get:258 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 288s Get:259 http://ftpmaster.internal/ubuntu noble/main s390x libxcursor1 s390x 1:1.2.1-1 [22.2 kB] 288s Get:260 http://ftpmaster.internal/ubuntu noble/main s390x libxft2 s390x 2.3.6-1 [44.3 kB] 288s Get:261 http://ftpmaster.internal/ubuntu noble/main s390x libxinerama1 s390x 2:1.1.4-3 [7110 B] 288s Get:262 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfltk1.3t64 s390x 1.3.8-6.1build1 [645 kB] 288s Get:263 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 288s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglapi-mesa s390x 24.0.3-1ubuntu3 [69.2 kB] 288s Get:265 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 288s Get:266 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 288s Get:267 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 288s Get:268 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 288s Get:269 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 288s Get:270 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 288s Get:271 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 288s Get:272 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 288s Get:273 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 288s Get:274 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 288s Get:275 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 288s Get:276 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 288s Get:277 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 288s Get:278 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 288s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm17t64 s390x 1:17.0.6-9build2 [31.2 MB] 296s Get:280 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgl1-mesa-dri s390x 24.0.3-1ubuntu3 [7186 kB] 297s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglx-mesa0 s390x 24.0.3-1ubuntu3 [182 kB] 297s Get:282 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 297s Get:283 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 297s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfltk-gl1.3t64 s390x 1.3.8-6.1build1 [43.7 kB] 297s Get:285 http://ftpmaster.internal/ubuntu noble/universe s390x libgl2ps1.4 s390x 1.4.2+dfsg1-2 [40.2 kB] 297s Get:286 http://ftpmaster.internal/ubuntu noble/main s390x libltdl7 s390x 2.4.7-7 [41.6 kB] 297s Get:287 http://ftpmaster.internal/ubuntu noble/universe s390x libglpk40 s390x 5.0-1build1 [402 kB] 297s Get:288 http://ftpmaster.internal/ubuntu noble/main s390x libopengl0 s390x 1.7.0-1 [45.9 kB] 297s Get:289 http://ftpmaster.internal/ubuntu noble/main s390x libglu1-mesa s390x 9.0.2-1.1 [145 kB] 297s Get:290 http://ftpmaster.internal/ubuntu noble/universe s390x libdav1d7 s390x 1.4.1-1 [316 kB] 297s Get:291 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif-plugin-dav1d s390x 1.17.6-1ubuntu2 [10.2 kB] 297s Get:292 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libde265-0 s390x 1.0.15-1build1 [175 kB] 297s Get:293 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif-plugin-libde265 s390x 1.17.6-1ubuntu2 [8306 B] 297s Get:294 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif1 s390x 1.17.6-1ubuntu2 [299 kB] 298s Get:295 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhwy1t64 s390x 1.0.7-8.1 [236 kB] 298s Get:296 http://ftpmaster.internal/ubuntu noble/main s390x liblcms2-2 s390x 2.14-2 [155 kB] 298s Get:297 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libjxl0.7 s390x 0.7.0-10.2ubuntu4 [778 kB] 298s Get:298 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwmflite-0.2-7 s390x 0.2.13-1.1build2 [72.1 kB] 298s Get:299 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libgraphicsmagick-q16-3t64 s390x 1.4+really1.3.42-1.1build1 [1313 kB] 298s Get:300 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libgraphicsmagick++-q16-12t64 s390x 1.4+really1.3.42-1.1build1 [117 kB] 298s Get:301 http://ftpmaster.internal/ubuntu noble/universe s390x libaec0 s390x 1.1.2-1 [25.7 kB] 298s Get:302 http://ftpmaster.internal/ubuntu noble/universe s390x libsz2 s390x 1.1.2-1 [5346 B] 298s Get:303 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [1436 kB] 298s Get:304 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libasound2-data all 1.2.11-1build1 [21.0 kB] 299s Get:305 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libasound2t64 s390x 1.2.11-1build1 [414 kB] 299s Get:306 http://ftpmaster.internal/ubuntu noble/main s390x libopus0 s390x 1.4-1 [203 kB] 299s Get:307 http://ftpmaster.internal/ubuntu noble/main s390x libsamplerate0 s390x 0.2.2-4 [1343 kB] 300s Get:308 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjack-jackd2-0 s390x 1.9.21~dfsg-3ubuntu1 [297 kB] 300s Get:309 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libportaudio2 s390x 19.6.0-1.2build1 [71.8 kB] 300s Get:310 http://ftpmaster.internal/ubuntu noble/universe s390x libqhull-r8.0 s390x 2020.2-6 [181 kB] 300s Get:311 http://ftpmaster.internal/ubuntu noble/universe s390x libqrupdate1 s390x 1.1.2-4 [30.8 kB] 300s Get:312 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqscintilla2-qt5-l10n all 2.14.1+dfsg-1build2 [56.4 kB] 300s Get:313 http://ftpmaster.internal/ubuntu noble/universe s390x libdouble-conversion3 s390x 3.3.0-1 [39.6 kB] 300s Get:314 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 300s Get:315 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5core5t64 s390x 5.15.12+dfsg-3ubuntu6 [2263 kB] 300s Get:316 http://ftpmaster.internal/ubuntu noble/main s390x libwayland-server0 s390x 1.22.0-2.1 [34.9 kB] 300s Get:317 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgbm1 s390x 24.0.3-1ubuntu3 [44.5 kB] 300s Get:318 http://ftpmaster.internal/ubuntu noble/main s390x libwayland-client0 s390x 1.22.0-2.1 [26.1 kB] 300s Get:319 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libegl-mesa0 s390x 24.0.3-1ubuntu3 [123 kB] 300s Get:320 http://ftpmaster.internal/ubuntu noble/main s390x libegl1 s390x 1.7.0-1 [30.9 kB] 300s Get:321 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 300s Get:322 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 300s Get:323 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmtdev1t64 s390x 1.1.6-1.1 [15.7 kB] 300s Get:324 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwacom-common all 2.10.0-1build1 [63.5 kB] 300s Get:325 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwacom9 s390x 2.10.0-1build1 [24.3 kB] 300s Get:326 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libinput-bin s390x 1.25.0-1ubuntu1 [22.2 kB] 300s Get:327 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libinput10 s390x 1.25.0-1ubuntu1 [136 kB] 300s Get:328 http://ftpmaster.internal/ubuntu noble/universe s390x libmd4c0 s390x 0.4.8-1 [43.6 kB] 300s Get:329 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5dbus5t64 s390x 5.15.12+dfsg-3ubuntu6 [244 kB] 300s Get:330 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5network5t64 s390x 5.15.12+dfsg-3ubuntu6 [798 kB] 300s Get:331 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 300s Get:332 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-icccm4 s390x 0.4.1-1.1build2 [11.5 kB] 300s Get:333 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-util1 s390x 0.4.0-1build2 [11.2 kB] 300s Get:334 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-image0 s390x 0.4.0-2 [11.8 kB] 300s Get:335 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-keysyms1 s390x 0.4.0-1build3 [8780 B] 300s Get:336 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-render-util0 s390x 0.3.9-1build3 [10.1 kB] 300s Get:337 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shape0 s390x 1.15-1 [6146 B] 300s Get:338 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xinerama0 s390x 1.15-1 [5382 B] 300s Get:339 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xinput0 s390x 1.15-1 [34.6 kB] 300s Get:340 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xkb1 s390x 1.15-1 [32.3 kB] 300s Get:341 http://ftpmaster.internal/ubuntu noble/main s390x libxkbcommon-x11-0 s390x 1.6.0-1 [14.8 kB] 300s Get:342 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5gui5t64 s390x 5.15.12+dfsg-3ubuntu6 [4203 kB] 301s Get:343 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-common-data s390x 0.8-13ubuntu4 [29.6 kB] 301s Get:344 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-common3 s390x 0.8-13ubuntu4 [24.1 kB] 301s Get:345 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-client3 s390x 0.8-13ubuntu4 [27.2 kB] 301s Get:346 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcups2t64 s390x 2.4.7-1.2ubuntu2 [282 kB] 301s Get:347 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5widgets5t64 s390x 5.15.12+dfsg-3ubuntu6 [2754 kB] 301s Get:348 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5printsupport5t64 s390x 5.15.12+dfsg-3ubuntu6 [220 kB] 301s Get:349 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqscintilla2-qt5-15 s390x 2.14.1+dfsg-1build2 [1351 kB] 301s Get:350 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5sql5t64 s390x 5.15.12+dfsg-3ubuntu6 [131 kB] 301s Get:351 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5help5 s390x 5.15.12-2build2 [174 kB] 301s Get:352 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5xml5t64 s390x 5.15.12+dfsg-3ubuntu6 [132 kB] 301s Get:353 http://ftpmaster.internal/ubuntu noble/main s390x libogg0 s390x 1.3.5-3 [22.7 kB] 301s Get:354 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libflac12t64 s390x 1.4.3+ds-2.1ubuntu1 [162 kB] 301s Get:355 http://ftpmaster.internal/ubuntu noble/main s390x libmp3lame0 s390x 3.100-6 [141 kB] 301s Get:356 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmpg123-0 s390x 1.32.5-1build1 [176 kB] 301s Get:357 http://ftpmaster.internal/ubuntu noble/main s390x libvorbis0a s390x 1.3.7-1build2 [102 kB] 301s Get:358 http://ftpmaster.internal/ubuntu noble/main s390x libvorbisenc2 s390x 1.3.7-1build2 [83.1 kB] 301s Get:359 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsndfile1 s390x 1.2.2-1ubuntu3 [237 kB] 301s Get:360 http://ftpmaster.internal/ubuntu noble/universe s390x libspqr4 s390x 1:7.6.1+dfsg-1 [164 kB] 301s Get:361 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-ida6 s390x 6.4.1+dfsg1-3build3 [133 kB] 301s Get:362 http://ftpmaster.internal/ubuntu noble/universe s390x libbtf2 s390x 1:7.6.1+dfsg-1 [15.7 kB] 301s Get:363 http://ftpmaster.internal/ubuntu noble/universe s390x libklu2 s390x 1:7.6.1+dfsg-1 [106 kB] 301s Get:364 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-long3 s390x 3.3.10-1ubuntu2 [529 kB] 301s Get:365 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libevent-pthreads-2.1-7 s390x 2.1.12-stable-9build1 [7778 B] 301s Get:366 http://ftpmaster.internal/ubuntu noble-proposed/main s390x librdmacm1t64 s390x 50.0-2build1 [74.1 kB] 301s Get:367 http://ftpmaster.internal/ubuntu noble/universe s390x libfabric1 s390x 1.17.0-3build1 [566 kB] 302s Get:368 http://ftpmaster.internal/ubuntu noble/universe s390x libhwloc15 s390x 2.10.0-1 [174 kB] 302s Get:369 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libmunge2 s390x 0.5.15-4 [15.6 kB] 302s Get:370 http://ftpmaster.internal/ubuntu noble/main s390x libpciaccess0 s390x 0.17-3 [18.5 kB] 302s Get:371 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxnvctrl0 s390x 510.47.03-0ubuntu3 [12.7 kB] 302s Get:372 http://ftpmaster.internal/ubuntu noble/universe s390x ocl-icd-libopencl1 s390x 2.3.2-1 [39.1 kB] 302s Get:373 http://ftpmaster.internal/ubuntu noble/universe s390x libhwloc-plugins s390x 2.10.0-1 [16.1 kB] 302s Get:374 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libpmix2t64 s390x 5.0.1-4.1 [727 kB] 302s Get:375 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libopenmpi3t64 s390x 4.1.6-7ubuntu1 [2437 kB] 302s Get:376 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfftw3-mpi3 s390x 3.3.10-1ubuntu2 [57.5 kB] 302s Get:377 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-openmpi-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [1496 kB] 302s Get:378 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libcombblas2.0.0t64 s390x 2.0.0-3.1build1 [270 kB] 302s Get:379 http://ftpmaster.internal/ubuntu noble/universe s390x libmetis5 s390x 5.1.0.dfsg-7build2 [180 kB] 302s Get:380 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libptscotch-7.0 s390x 7.0.4-1ubuntu1 [847 kB] 302s Get:381 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsuperlu-dist8 s390x 8.2.1+dfsg1-1build1 [784 kB] 302s Get:382 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhypre-2.28.0 s390x 2.28.0-8build1 [2164 kB] 302s Get:383 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x openmpi-common all 4.1.6-7ubuntu1 [170 kB] 302s Get:384 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x openmpi-bin s390x 4.1.6-7ubuntu1 [84.5 kB] 302s Get:385 http://ftpmaster.internal/ubuntu noble/universe s390x mpi-default-bin s390x 1.15 [2338 B] 302s Get:386 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libscalapack-openmpi2.2 s390x 2.2.1-3build1 [1969 kB] 302s Get:387 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libmumps-5.6t64 s390x 5.6.2-2.1build1 [2298 kB] 303s Get:388 http://ftpmaster.internal/ubuntu noble/universe s390x libsuperlu6 s390x 6.0.1+dfsg1-1 [232 kB] 303s Get:389 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libscotch-7.0 s390x 7.0.4-1ubuntu1 [526 kB] 303s Get:390 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-kokkos-13.2 s390x 13.2.0-5build1 [113 kB] 303s Get:391 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-teuchos-13.2 s390x 13.2.0-5build1 [1196 kB] 303s Get:392 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-epetra-13.2 s390x 13.2.0-5build1 [522 kB] 303s Get:393 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-triutils-13.2 s390x 13.2.0-5build1 [140 kB] 303s Get:394 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-epetraext-13.2 s390x 13.2.0-5build1 [489 kB] 303s Get:395 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-trilinosss-13.2 s390x 13.2.0-5build1 [125 kB] 303s Get:396 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-amesos-13.2 s390x 13.2.0-5build1 [112 kB] 303s Get:397 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-aztecoo-13.2 s390x 13.2.0-5build1 [254 kB] 303s Get:398 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-galeri-13.2 s390x 13.2.0-5build1 [101 kB] 303s Get:399 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-ifpack-13.2 s390x 13.2.0-5build1 [470 kB] 303s Get:400 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-zoltan-13.2 s390x 13.2.0-5build1 [450 kB] 303s Get:401 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-ml-13.2 s390x 13.2.0-5build1 [1142 kB] 303s Get:402 http://ftpmaster.internal/ubuntu noble/universe s390x libumfpack6 s390x 1:7.6.1+dfsg-1 [362 kB] 303s Get:403 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libpetsc-real3.19t64 s390x 3.19.6+dfsg1-2.2ubuntu1 [7015 kB] 303s Get:404 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-nvecparallel-petsc6 s390x 6.4.1+dfsg1-3build3 [38.0 kB] 303s Get:405 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-sunmatrix4 s390x 6.4.1+dfsg1-3build3 [88.1 kB] 304s Get:406 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-sunlinsol3 s390x 6.4.1+dfsg1-3build3 [177 kB] 304s Get:407 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-unidecode-perl all 1.30-3 [105 kB] 304s Get:408 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x texinfo-lib s390x 7.1-3build1 [141 kB] 304s Get:409 http://ftpmaster.internal/ubuntu noble/universe s390x tex-common all 6.18 [32.8 kB] 304s Get:410 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x texinfo all 7.1-3build1 [1273 kB] 304s Get:411 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave-common all 8.4.0-1build4 [5925 kB] 305s Get:412 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave s390x 8.4.0-1build4 [10.2 MB] 305s Get:413 http://ftpmaster.internal/ubuntu noble/main s390x libncurses-dev s390x 6.4+20240113-1ubuntu1 [412 kB] 305s Get:414 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline-dev s390x 8.2-4 [189 kB] 305s Get:415 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-fortran-102t64 s390x 1.10.10+repack-3.1ubuntu3 [92.6 kB] 305s Get:416 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-100t64 s390x 1.10.10+repack-3.1ubuntu3 [58.2 kB] 305s Get:417 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-fortran-100t64 s390x 1.10.10+repack-3.1ubuntu3 [32.3 kB] 305s Get:418 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-cpp-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [123 kB] 305s Get:419 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-cpp-100t64 s390x 1.10.10+repack-3.1ubuntu3 [11.1 kB] 305s Get:420 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g-dev s390x 1:1.3.dfsg-3.1ubuntu1 [904 kB] 306s Get:421 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8-dev s390x 2.1.5-2ubuntu1 [264 kB] 306s Get:422 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8-dev s390x 8c-2ubuntu11 [1484 B] 306s Get:423 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-dev s390x 8c-2ubuntu11 [1484 B] 306s Get:424 http://ftpmaster.internal/ubuntu noble/universe s390x libaec-dev s390x 1.1.2-1 [23.1 kB] 306s Get:425 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl4-openssl-dev s390x 8.5.0-2ubuntu8 [473 kB] 306s Get:426 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl-dev s390x 3.0.13-0ubuntu2 [2131 kB] 306s Get:427 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x hdf5-helpers s390x 1.10.10+repack-3.1ubuntu3 [15.8 kB] 306s Get:428 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-dev s390x 1.10.10+repack-3.1ubuntu3 [2908 kB] 306s Get:429 http://ftpmaster.internal/ubuntu noble/main s390x xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 306s Get:430 http://ftpmaster.internal/ubuntu noble/main s390x x11proto-dev all 2023.2-1 [602 kB] 306s Get:431 http://ftpmaster.internal/ubuntu noble/main s390x libxau-dev s390x 1:1.0.9-1build5 [9702 B] 306s Get:432 http://ftpmaster.internal/ubuntu noble/main s390x libxdmcp-dev s390x 1:1.1.3-0ubuntu5 [26.5 kB] 306s Get:433 http://ftpmaster.internal/ubuntu noble/main s390x xtrans-dev all 1.4.0-1 [68.9 kB] 306s Get:434 http://ftpmaster.internal/ubuntu noble/main s390x libpthread-stubs0-dev s390x 0.4-1build2 [5508 B] 306s Get:435 http://ftpmaster.internal/ubuntu noble/main s390x libxcb1-dev s390x 1.15-1 [86.5 kB] 306s Get:436 http://ftpmaster.internal/ubuntu noble/main s390x libx11-dev s390x 2:1.8.7-1 [758 kB] 306s Get:437 http://ftpmaster.internal/ubuntu noble/main s390x libglx-dev s390x 1.7.0-1 [14.2 kB] 306s Get:438 http://ftpmaster.internal/ubuntu noble/main s390x libgl-dev s390x 1.7.0-1 [102 kB] 306s Get:439 http://ftpmaster.internal/ubuntu noble/main s390x libblas-dev s390x 3.12.0-3 [239 kB] 306s Get:440 http://ftpmaster.internal/ubuntu noble/main s390x liblapack-dev s390x 3.12.0-3 [5983 kB] 306s Get:441 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-bin s390x 3.3.10-1ubuntu2 [37.5 kB] 306s Get:442 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-dev s390x 3.3.10-1ubuntu2 [1325 kB] 306s Get:443 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran-13-dev s390x 13.2.0-21ubuntu1 [623 kB] 306s Get:444 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [10.4 MB] 307s Get:445 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13 s390x 13.2.0-21ubuntu1 [10.9 kB] 307s Get:446 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1016 B] 307s Get:447 http://ftpmaster.internal/ubuntu noble/main s390x gfortran s390x 4:13.2.0-7ubuntu1 [1174 B] 307s Get:448 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-21ubuntu1 [2494 kB] 307s Get:449 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [11.3 MB] 308s Get:450 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-21ubuntu1 [14.4 kB] 308s Get:451 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 308s Get:452 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 308s Get:453 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave-dev s390x 8.4.0-1build4 [472 kB] 308s Get:454 http://ftpmaster.internal/ubuntu noble/universe s390x dh-octave all 1.8.0 [19.7 kB] 308s Get:455 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 308s Get:456 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxt6t64 s390x 1:1.2.1-1.2 [184 kB] 308s Get:457 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmu6 s390x 2:1.1.3-3build1 [52.9 kB] 308s Get:458 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxaw7 s390x 2:1.0.14-1build1 [204 kB] 308s Get:459 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 308s Get:460 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 308s Get:461 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 308s Get:462 http://ftpmaster.internal/ubuntu noble/universe s390x octave-image s390x 2.14.0-5 [694 kB] 308s Get:463 http://ftpmaster.internal/ubuntu noble-proposed/main s390x x11-xkb-utils s390x 7.7+8build1 [171 kB] 308s Get:464 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 308s Get:465 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 309s Fetched 218 MB in 33s (6690 kB/s) 309s Selecting previously unselected package m4. 310s (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 ... 81562 files and directories currently installed.) 310s Preparing to unpack .../000-m4_1.4.19-4_s390x.deb ... 310s Unpacking m4 (1.4.19-4) ... 310s Selecting previously unselected package autoconf. 310s Preparing to unpack .../001-autoconf_2.71-3_all.deb ... 310s Unpacking autoconf (2.71-3) ... 310s Selecting previously unselected package autotools-dev. 310s Preparing to unpack .../002-autotools-dev_20220109.1_all.deb ... 310s Unpacking autotools-dev (20220109.1) ... 310s Selecting previously unselected package automake. 310s Preparing to unpack .../003-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 310s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 310s Selecting previously unselected package autopoint. 310s Preparing to unpack .../004-autopoint_0.21-14ubuntu1_all.deb ... 310s Unpacking autopoint (0.21-14ubuntu1) ... 310s Selecting previously unselected package libcapture-tiny-perl. 310s Preparing to unpack .../005-libcapture-tiny-perl_0.48-2_all.deb ... 310s Unpacking libcapture-tiny-perl (0.48-2) ... 310s Selecting previously unselected package libparams-util-perl. 310s Preparing to unpack .../006-libparams-util-perl_1.102-2build2_s390x.deb ... 310s Unpacking libparams-util-perl (1.102-2build2) ... 310s Selecting previously unselected package libsub-install-perl. 310s Preparing to unpack .../007-libsub-install-perl_0.929-1_all.deb ... 310s Unpacking libsub-install-perl (0.929-1) ... 310s Selecting previously unselected package libdata-optlist-perl. 310s Preparing to unpack .../008-libdata-optlist-perl_0.114-1_all.deb ... 310s Unpacking libdata-optlist-perl (0.114-1) ... 310s Selecting previously unselected package libb-hooks-op-check-perl:s390x. 310s Preparing to unpack .../009-libb-hooks-op-check-perl_0.22-3_s390x.deb ... 310s Unpacking libb-hooks-op-check-perl:s390x (0.22-3) ... 310s Selecting previously unselected package libdynaloader-functions-perl. 310s Preparing to unpack .../010-libdynaloader-functions-perl_0.003-3_all.deb ... 310s Unpacking libdynaloader-functions-perl (0.003-3) ... 310s Selecting previously unselected package libdevel-callchecker-perl:s390x. 310s Preparing to unpack .../011-libdevel-callchecker-perl_0.008-2build2_s390x.deb ... 310s Unpacking libdevel-callchecker-perl:s390x (0.008-2build2) ... 310s Selecting previously unselected package libparams-classify-perl:s390x. 310s Preparing to unpack .../012-libparams-classify-perl_0.015-2build4_s390x.deb ... 310s Unpacking libparams-classify-perl:s390x (0.015-2build4) ... 310s Selecting previously unselected package libmodule-runtime-perl. 310s Preparing to unpack .../013-libmodule-runtime-perl_0.016-2_all.deb ... 310s Unpacking libmodule-runtime-perl (0.016-2) ... 310s Selecting previously unselected package libtry-tiny-perl. 310s Preparing to unpack .../014-libtry-tiny-perl_0.31-2_all.deb ... 310s Unpacking libtry-tiny-perl (0.31-2) ... 310s Selecting previously unselected package libmodule-implementation-perl. 310s Preparing to unpack .../015-libmodule-implementation-perl_0.09-2_all.deb ... 310s Unpacking libmodule-implementation-perl (0.09-2) ... 310s Selecting previously unselected package libpackage-stash-perl. 310s Preparing to unpack .../016-libpackage-stash-perl_0.40-1_all.deb ... 310s Unpacking libpackage-stash-perl (0.40-1) ... 310s Selecting previously unselected package libclass-load-perl. 310s Preparing to unpack .../017-libclass-load-perl_0.25-2_all.deb ... 310s Unpacking libclass-load-perl (0.25-2) ... 310s Selecting previously unselected package libio-stringy-perl. 310s Preparing to unpack .../018-libio-stringy-perl_2.111-3_all.deb ... 310s Unpacking libio-stringy-perl (2.111-3) ... 310s Selecting previously unselected package libparams-validate-perl:s390x. 310s Preparing to unpack .../019-libparams-validate-perl_1.31-2build2_s390x.deb ... 310s Unpacking libparams-validate-perl:s390x (1.31-2build2) ... 310s Selecting previously unselected package libsub-exporter-perl. 310s Preparing to unpack .../020-libsub-exporter-perl_0.990-1_all.deb ... 310s Unpacking libsub-exporter-perl (0.990-1) ... 310s Selecting previously unselected package libgetopt-long-descriptive-perl. 310s Preparing to unpack .../021-libgetopt-long-descriptive-perl_0.111-1_all.deb ... 310s Unpacking libgetopt-long-descriptive-perl (0.111-1) ... 310s Selecting previously unselected package libio-tiecombine-perl. 310s Preparing to unpack .../022-libio-tiecombine-perl_1.005-3_all.deb ... 310s Unpacking libio-tiecombine-perl (1.005-3) ... 310s Selecting previously unselected package libmodule-pluggable-perl. 310s Preparing to unpack .../023-libmodule-pluggable-perl_5.2-4_all.deb ... 310s Unpacking libmodule-pluggable-perl (5.2-4) ... 310s Selecting previously unselected package libstring-rewriteprefix-perl. 310s Preparing to unpack .../024-libstring-rewriteprefix-perl_0.009-1_all.deb ... 310s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 310s Selecting previously unselected package libapp-cmd-perl. 310s Preparing to unpack .../025-libapp-cmd-perl_0.336-1_all.deb ... 310s Unpacking libapp-cmd-perl (0.336-1) ... 310s Selecting previously unselected package libboolean-perl. 310s Preparing to unpack .../026-libboolean-perl_0.46-3_all.deb ... 310s Unpacking libboolean-perl (0.46-3) ... 310s Selecting previously unselected package libsub-uplevel-perl. 310s Preparing to unpack .../027-libsub-uplevel-perl_0.2800-3_all.deb ... 310s Unpacking libsub-uplevel-perl (0.2800-3) ... 310s Selecting previously unselected package libtest-exception-perl. 310s Preparing to unpack .../028-libtest-exception-perl_0.43-3_all.deb ... 310s Unpacking libtest-exception-perl (0.43-3) ... 310s Selecting previously unselected package libcarp-assert-more-perl. 310s Preparing to unpack .../029-libcarp-assert-more-perl_2.3.0-1_all.deb ... 310s Unpacking libcarp-assert-more-perl (2.3.0-1) ... 310s Selecting previously unselected package libfile-which-perl. 310s Preparing to unpack .../030-libfile-which-perl_1.27-2_all.deb ... 310s Unpacking libfile-which-perl (1.27-2) ... 310s Selecting previously unselected package libfile-homedir-perl. 310s Preparing to unpack .../031-libfile-homedir-perl_1.006-2_all.deb ... 310s Unpacking libfile-homedir-perl (1.006-2) ... 310s Selecting previously unselected package libclone-choose-perl. 310s Preparing to unpack .../032-libclone-choose-perl_0.010-2_all.deb ... 310s Unpacking libclone-choose-perl (0.010-2) ... 310s Selecting previously unselected package libhash-merge-perl. 310s Preparing to unpack .../033-libhash-merge-perl_0.302-1_all.deb ... 310s Unpacking libhash-merge-perl (0.302-1) ... 310s Selecting previously unselected package libjson-perl. 310s Preparing to unpack .../034-libjson-perl_4.10000-1_all.deb ... 310s Unpacking libjson-perl (4.10000-1) ... 310s Selecting previously unselected package libexporter-tiny-perl. 310s Preparing to unpack .../035-libexporter-tiny-perl_1.006002-1_all.deb ... 310s Unpacking libexporter-tiny-perl (1.006002-1) ... 310s Selecting previously unselected package liblist-moreutils-xs-perl. 310s Preparing to unpack .../036-liblist-moreutils-xs-perl_0.430-3build4_s390x.deb ... 310s Unpacking liblist-moreutils-xs-perl (0.430-3build4) ... 310s Selecting previously unselected package liblist-moreutils-perl. 310s Preparing to unpack .../037-liblist-moreutils-perl_0.430-2_all.deb ... 310s Unpacking liblist-moreutils-perl (0.430-2) ... 310s Selecting previously unselected package liblog-log4perl-perl. 310s Preparing to unpack .../038-liblog-log4perl-perl_1.57-1_all.deb ... 310s Unpacking liblog-log4perl-perl (1.57-1) ... 310s Selecting previously unselected package libmouse-perl. 310s Preparing to unpack .../039-libmouse-perl_2.5.10-1build7_s390x.deb ... 310s Unpacking libmouse-perl (2.5.10-1build7) ... 310s Selecting previously unselected package libmousex-nativetraits-perl. 310s Preparing to unpack .../040-libmousex-nativetraits-perl_1.09-3_all.deb ... 310s Unpacking libmousex-nativetraits-perl (1.09-3) ... 310s Selecting previously unselected package libmousex-strictconstructor-perl. 310s Preparing to unpack .../041-libmousex-strictconstructor-perl_0.02-3_all.deb ... 310s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 310s Selecting previously unselected package libparse-recdescent-perl. 310s Preparing to unpack .../042-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 310s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 310s Selecting previously unselected package libpath-tiny-perl. 310s Preparing to unpack .../043-libpath-tiny-perl_0.144-1_all.deb ... 310s Unpacking libpath-tiny-perl (0.144-1) ... 310s Selecting previously unselected package libpod-pom-perl. 310s Preparing to unpack .../044-libpod-pom-perl_2.01-4_all.deb ... 310s Unpacking libpod-pom-perl (2.01-4) ... 310s Selecting previously unselected package libregexp-common-perl. 310s Preparing to unpack .../045-libregexp-common-perl_2017060201-3_all.deb ... 310s Unpacking libregexp-common-perl (2017060201-3) ... 310s Selecting previously unselected package libyaml-tiny-perl. 310s Preparing to unpack .../046-libyaml-tiny-perl_1.74-1_all.deb ... 310s Unpacking libyaml-tiny-perl (1.74-1) ... 310s Selecting previously unselected package libconfig-model-perl. 310s Preparing to unpack .../047-libconfig-model-perl_2.153-3_all.deb ... 310s Unpacking libconfig-model-perl (2.153-3) ... 310s Selecting previously unselected package libyaml-pp-perl. 310s Preparing to unpack .../048-libyaml-pp-perl_0.38.0-1_all.deb ... 310s Unpacking libyaml-pp-perl (0.38.0-1) ... 310s Selecting previously unselected package cme. 310s Preparing to unpack .../049-cme_1.040-1_all.deb ... 311s Unpacking cme (1.040-1) ... 311s Selecting previously unselected package libisl23:s390x. 311s Preparing to unpack .../050-libisl23_0.26-3_s390x.deb ... 311s Unpacking libisl23:s390x (0.26-3) ... 311s Selecting previously unselected package libmpc3:s390x. 311s Preparing to unpack .../051-libmpc3_1.3.1-1_s390x.deb ... 311s Unpacking libmpc3:s390x (1.3.1-1) ... 311s Selecting previously unselected package cpp-13-s390x-linux-gnu. 311s Preparing to unpack .../052-cpp-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 311s Unpacking cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 311s Selecting previously unselected package cpp-13. 311s Preparing to unpack .../053-cpp-13_13.2.0-21ubuntu1_s390x.deb ... 311s Unpacking cpp-13 (13.2.0-21ubuntu1) ... 311s Selecting previously unselected package cpp-s390x-linux-gnu. 311s Preparing to unpack .../054-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 311s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package cpp. 311s Preparing to unpack .../055-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 311s Unpacking cpp (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package libdebhelper-perl. 311s Preparing to unpack .../056-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 311s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 311s Selecting previously unselected package libcc1-0:s390x. 311s Preparing to unpack .../057-libcc1-0_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libcc1-0:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libgomp1:s390x. 311s Preparing to unpack .../058-libgomp1_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libgomp1:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libitm1:s390x. 311s Preparing to unpack .../059-libitm1_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libitm1:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libatomic1:s390x. 311s Preparing to unpack .../060-libatomic1_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libatomic1:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libasan8:s390x. 311s Preparing to unpack .../061-libasan8_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libasan8:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libubsan1:s390x. 311s Preparing to unpack .../062-libubsan1_14-20240315-1ubuntu1_s390x.deb ... 311s Unpacking libubsan1:s390x (14-20240315-1ubuntu1) ... 311s Selecting previously unselected package libgcc-13-dev:s390x. 311s Preparing to unpack .../063-libgcc-13-dev_13.2.0-21ubuntu1_s390x.deb ... 311s Unpacking libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 311s Selecting previously unselected package gcc-13-s390x-linux-gnu. 311s Preparing to unpack .../064-gcc-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 311s Unpacking gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 311s Selecting previously unselected package gcc-13. 311s Preparing to unpack .../065-gcc-13_13.2.0-21ubuntu1_s390x.deb ... 311s Unpacking gcc-13 (13.2.0-21ubuntu1) ... 311s Selecting previously unselected package gcc-s390x-linux-gnu. 311s Preparing to unpack .../066-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 311s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package gcc. 311s Preparing to unpack .../067-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 311s Unpacking gcc (4:13.2.0-7ubuntu1) ... 311s Selecting previously unselected package libtool. 311s Preparing to unpack .../068-libtool_2.4.7-7_all.deb ... 311s Unpacking libtool (2.4.7-7) ... 312s Selecting previously unselected package dh-autoreconf. 312s Preparing to unpack .../069-dh-autoreconf_20_all.deb ... 312s Unpacking dh-autoreconf (20) ... 312s Selecting previously unselected package libarchive-zip-perl. 312s Preparing to unpack .../070-libarchive-zip-perl_1.68-1_all.deb ... 312s Unpacking libarchive-zip-perl (1.68-1) ... 312s Selecting previously unselected package libsub-override-perl. 312s Preparing to unpack .../071-libsub-override-perl_0.10-1_all.deb ... 312s Unpacking libsub-override-perl (0.10-1) ... 312s Selecting previously unselected package libfile-stripnondeterminism-perl. 312s Preparing to unpack .../072-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 312s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 312s Selecting previously unselected package dh-strip-nondeterminism. 312s Preparing to unpack .../073-dh-strip-nondeterminism_1.13.1-1_all.deb ... 312s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 312s Selecting previously unselected package debugedit. 312s Preparing to unpack .../074-debugedit_1%3a5.0-5build1_s390x.deb ... 312s Unpacking debugedit (1:5.0-5build1) ... 312s Selecting previously unselected package dwz. 312s Preparing to unpack .../075-dwz_0.15-1build5_s390x.deb ... 312s Unpacking dwz (0.15-1build5) ... 312s Selecting previously unselected package gettext. 312s Preparing to unpack .../076-gettext_0.21-14ubuntu1_s390x.deb ... 312s Unpacking gettext (0.21-14ubuntu1) ... 312s Selecting previously unselected package intltool-debian. 312s Preparing to unpack .../077-intltool-debian_0.35.0+20060710.6_all.deb ... 312s Unpacking intltool-debian (0.35.0+20060710.6) ... 312s Selecting previously unselected package po-debconf. 312s Preparing to unpack .../078-po-debconf_1.0.21+nmu1_all.deb ... 312s Unpacking po-debconf (1.0.21+nmu1) ... 312s Selecting previously unselected package debhelper. 312s Preparing to unpack .../079-debhelper_13.14.1ubuntu5_all.deb ... 312s Unpacking debhelper (13.14.1ubuntu5) ... 312s Selecting previously unselected package aglfn. 312s Preparing to unpack .../080-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 312s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 312s Selecting previously unselected package gnuplot-data. 312s Preparing to unpack .../081-gnuplot-data_6.0.0+dfsg1-1ubuntu2_all.deb ... 312s Unpacking gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 312s Selecting previously unselected package libpixman-1-0:s390x. 312s Preparing to unpack .../082-libpixman-1-0_0.42.2-1_s390x.deb ... 312s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 312s Selecting previously unselected package libxcb-render0:s390x. 312s Preparing to unpack .../083-libxcb-render0_1.15-1_s390x.deb ... 312s Unpacking libxcb-render0:s390x (1.15-1) ... 312s Selecting previously unselected package libxcb-shm0:s390x. 312s Preparing to unpack .../084-libxcb-shm0_1.15-1_s390x.deb ... 312s Unpacking libxcb-shm0:s390x (1.15-1) ... 312s Selecting previously unselected package libxrender1:s390x. 312s Preparing to unpack .../085-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 312s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 312s Selecting previously unselected package libcairo2:s390x. 312s Preparing to unpack .../086-libcairo2_1.18.0-1ubuntu1_s390x.deb ... 312s Unpacking libcairo2:s390x (1.18.0-1ubuntu1) ... 312s Selecting previously unselected package liblua5.4-0:s390x. 312s Preparing to unpack .../087-liblua5.4-0_5.4.6-3build1_s390x.deb ... 312s Unpacking liblua5.4-0:s390x (5.4.6-3build1) ... 312s Selecting previously unselected package fontconfig. 312s Preparing to unpack .../088-fontconfig_2.15.0-1.1ubuntu1_s390x.deb ... 312s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 312s Selecting previously unselected package libgraphite2-3:s390x. 312s Preparing to unpack .../089-libgraphite2-3_1.3.14-2_s390x.deb ... 312s Unpacking libgraphite2-3:s390x (1.3.14-2) ... 312s Selecting previously unselected package libharfbuzz0b:s390x. 312s Preparing to unpack .../090-libharfbuzz0b_8.3.0-2build1_s390x.deb ... 312s Unpacking libharfbuzz0b:s390x (8.3.0-2build1) ... 312s Selecting previously unselected package libthai-data. 312s Preparing to unpack .../091-libthai-data_0.1.29-2_all.deb ... 312s Unpacking libthai-data (0.1.29-2) ... 312s Selecting previously unselected package libdatrie1:s390x. 312s Preparing to unpack .../092-libdatrie1_0.2.13-3_s390x.deb ... 312s Unpacking libdatrie1:s390x (0.2.13-3) ... 312s Selecting previously unselected package libthai0:s390x. 312s Preparing to unpack .../093-libthai0_0.1.29-2_s390x.deb ... 312s Unpacking libthai0:s390x (0.1.29-2) ... 312s Selecting previously unselected package libpango-1.0-0:s390x. 312s Preparing to unpack .../094-libpango-1.0-0_1.52.1+ds-1_s390x.deb ... 312s Unpacking libpango-1.0-0:s390x (1.52.1+ds-1) ... 312s Selecting previously unselected package libpangoft2-1.0-0:s390x. 312s Preparing to unpack .../095-libpangoft2-1.0-0_1.52.1+ds-1_s390x.deb ... 312s Unpacking libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 312s Selecting previously unselected package libpangocairo-1.0-0:s390x. 312s Preparing to unpack .../096-libpangocairo-1.0-0_1.52.1+ds-1_s390x.deb ... 312s Unpacking libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 312s Selecting previously unselected package libwebpmux3:s390x. 312s Preparing to unpack .../097-libwebpmux3_1.3.2-0.4build2_s390x.deb ... 312s Unpacking libwebpmux3:s390x (1.3.2-0.4build2) ... 312s Selecting previously unselected package gnuplot-nox. 312s Preparing to unpack .../098-gnuplot-nox_6.0.0+dfsg1-1ubuntu2_s390x.deb ... 312s Unpacking gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 312s Selecting previously unselected package fonts-freefont-otf. 312s Preparing to unpack .../099-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 312s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 312s Selecting previously unselected package dh-octave-autopkgtest. 312s Preparing to unpack .../100-dh-octave-autopkgtest_1.8.0_all.deb ... 312s Unpacking dh-octave-autopkgtest (1.8.0) ... 312s Selecting previously unselected package libapt-pkg-perl. 312s Preparing to unpack .../101-libapt-pkg-perl_0.1.40build5_s390x.deb ... 312s Unpacking libapt-pkg-perl (0.1.40build5) ... 312s Selecting previously unselected package libarray-intspan-perl. 312s Preparing to unpack .../102-libarray-intspan-perl_2.004-2_all.deb ... 312s Unpacking libarray-intspan-perl (2.004-2) ... 312s Selecting previously unselected package libyaml-libyaml-perl. 312s Preparing to unpack .../103-libyaml-libyaml-perl_0.89+ds-1build1_s390x.deb ... 312s Unpacking libyaml-libyaml-perl (0.89+ds-1build1) ... 312s Selecting previously unselected package libconfig-model-backend-yaml-perl. 312s Preparing to unpack .../104-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 312s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 312s Selecting previously unselected package libexporter-lite-perl. 312s Preparing to unpack .../105-libexporter-lite-perl_0.09-2_all.deb ... 312s Unpacking libexporter-lite-perl (0.09-2) ... 312s Selecting previously unselected package libencode-locale-perl. 312s Preparing to unpack .../106-libencode-locale-perl_1.05-3_all.deb ... 312s Unpacking libencode-locale-perl (1.05-3) ... 312s Selecting previously unselected package libtimedate-perl. 312s Preparing to unpack .../107-libtimedate-perl_2.3300-2_all.deb ... 312s Unpacking libtimedate-perl (2.3300-2) ... 312s Selecting previously unselected package libhttp-date-perl. 312s Preparing to unpack .../108-libhttp-date-perl_6.06-1_all.deb ... 312s Unpacking libhttp-date-perl (6.06-1) ... 312s Selecting previously unselected package libfile-listing-perl. 312s Preparing to unpack .../109-libfile-listing-perl_6.16-1_all.deb ... 312s Unpacking libfile-listing-perl (6.16-1) ... 312s Selecting previously unselected package libhtml-tagset-perl. 312s Preparing to unpack .../110-libhtml-tagset-perl_3.20-6_all.deb ... 312s Unpacking libhtml-tagset-perl (3.20-6) ... 312s Selecting previously unselected package liburi-perl. 312s Preparing to unpack .../111-liburi-perl_5.27-1_all.deb ... 312s Unpacking liburi-perl (5.27-1) ... 312s Selecting previously unselected package libhtml-parser-perl:s390x. 312s Preparing to unpack .../112-libhtml-parser-perl_3.81-1build2_s390x.deb ... 312s Unpacking libhtml-parser-perl:s390x (3.81-1build2) ... 312s Selecting previously unselected package libhtml-tree-perl. 312s Preparing to unpack .../113-libhtml-tree-perl_5.07-3_all.deb ... 312s Unpacking libhtml-tree-perl (5.07-3) ... 312s Selecting previously unselected package libclone-perl:s390x. 312s Preparing to unpack .../114-libclone-perl_0.46-1build2_s390x.deb ... 312s Unpacking libclone-perl:s390x (0.46-1build2) ... 312s Selecting previously unselected package libio-html-perl. 312s Preparing to unpack .../115-libio-html-perl_1.004-3_all.deb ... 312s Unpacking libio-html-perl (1.004-3) ... 313s Selecting previously unselected package liblwp-mediatypes-perl. 313s Preparing to unpack .../116-liblwp-mediatypes-perl_6.04-2_all.deb ... 313s Unpacking liblwp-mediatypes-perl (6.04-2) ... 313s Selecting previously unselected package libhttp-message-perl. 313s Preparing to unpack .../117-libhttp-message-perl_6.45-1ubuntu1_all.deb ... 313s Unpacking libhttp-message-perl (6.45-1ubuntu1) ... 313s Selecting previously unselected package libhttp-cookies-perl. 313s Preparing to unpack .../118-libhttp-cookies-perl_6.11-1_all.deb ... 313s Unpacking libhttp-cookies-perl (6.11-1) ... 313s Selecting previously unselected package libhttp-negotiate-perl. 313s Preparing to unpack .../119-libhttp-negotiate-perl_6.01-2_all.deb ... 313s Unpacking libhttp-negotiate-perl (6.01-2) ... 313s Selecting previously unselected package perl-openssl-defaults:s390x. 313s Preparing to unpack .../120-perl-openssl-defaults_7build1_s390x.deb ... 313s Unpacking perl-openssl-defaults:s390x (7build1) ... 313s Selecting previously unselected package libnet-ssleay-perl:s390x. 313s Preparing to unpack .../121-libnet-ssleay-perl_1.94-1build2_s390x.deb ... 313s Unpacking libnet-ssleay-perl:s390x (1.94-1build2) ... 313s Selecting previously unselected package libio-socket-ssl-perl. 313s Preparing to unpack .../122-libio-socket-ssl-perl_2.085-1_all.deb ... 313s Unpacking libio-socket-ssl-perl (2.085-1) ... 313s Selecting previously unselected package libnet-http-perl. 313s Preparing to unpack .../123-libnet-http-perl_6.23-1_all.deb ... 313s Unpacking libnet-http-perl (6.23-1) ... 313s Selecting previously unselected package liblwp-protocol-https-perl. 313s Preparing to unpack .../124-liblwp-protocol-https-perl_6.13-1_all.deb ... 313s Unpacking liblwp-protocol-https-perl (6.13-1) ... 313s Selecting previously unselected package libwww-robotrules-perl. 313s Preparing to unpack .../125-libwww-robotrules-perl_6.02-1_all.deb ... 313s Unpacking libwww-robotrules-perl (6.02-1) ... 313s Selecting previously unselected package libwww-perl. 313s Preparing to unpack .../126-libwww-perl_6.76-1_all.deb ... 313s Unpacking libwww-perl (6.76-1) ... 313s Selecting previously unselected package liberror-perl. 313s Preparing to unpack .../127-liberror-perl_0.17029-2_all.deb ... 313s Unpacking liberror-perl (0.17029-2) ... 313s Selecting previously unselected package libparse-debcontrol-perl. 313s Preparing to unpack .../128-libparse-debcontrol-perl_2.005-6_all.deb ... 313s Unpacking libparse-debcontrol-perl (2.005-6) ... 313s Selecting previously unselected package libsoftware-copyright-perl. 313s Preparing to unpack .../129-libsoftware-copyright-perl_0.012-2_all.deb ... 313s Unpacking libsoftware-copyright-perl (0.012-2) ... 313s Selecting previously unselected package libalgorithm-c3-perl. 313s Preparing to unpack .../130-libalgorithm-c3-perl_0.11-2_all.deb ... 313s Unpacking libalgorithm-c3-perl (0.11-2) ... 313s Selecting previously unselected package libclass-c3-perl. 313s Preparing to unpack .../131-libclass-c3-perl_0.35-2_all.deb ... 313s Unpacking libclass-c3-perl (0.35-2) ... 313s Selecting previously unselected package libmro-compat-perl. 313s Preparing to unpack .../132-libmro-compat-perl_0.15-2_all.deb ... 313s Unpacking libmro-compat-perl (0.15-2) ... 313s Selecting previously unselected package libdata-section-perl. 313s Preparing to unpack .../133-libdata-section-perl_0.200008-1_all.deb ... 313s Unpacking libdata-section-perl (0.200008-1) ... 313s Selecting previously unselected package libtext-template-perl. 313s Preparing to unpack .../134-libtext-template-perl_1.61-1_all.deb ... 313s Unpacking libtext-template-perl (1.61-1) ... 313s Selecting previously unselected package libsoftware-license-perl. 313s Preparing to unpack .../135-libsoftware-license-perl_0.104006-1_all.deb ... 313s Unpacking libsoftware-license-perl (0.104006-1) ... 313s Selecting previously unselected package libsoftware-licensemoreutils-perl. 313s Preparing to unpack .../136-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 313s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 313s Selecting previously unselected package libsort-versions-perl. 313s Preparing to unpack .../137-libsort-versions-perl_1.62-3_all.deb ... 313s Unpacking libsort-versions-perl (1.62-3) ... 313s Selecting previously unselected package libtext-reform-perl. 313s Preparing to unpack .../138-libtext-reform-perl_1.20-5_all.deb ... 313s Unpacking libtext-reform-perl (1.20-5) ... 313s Selecting previously unselected package libtext-autoformat-perl. 313s Preparing to unpack .../139-libtext-autoformat-perl_1.750000-2_all.deb ... 313s Unpacking libtext-autoformat-perl (1.750000-2) ... 313s Selecting previously unselected package libtext-levenshtein-damerau-perl. 313s Preparing to unpack .../140-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 313s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 313s Selecting previously unselected package libtoml-tiny-perl. 313s Preparing to unpack .../141-libtoml-tiny-perl_0.16-1_all.deb ... 313s Unpacking libtoml-tiny-perl (0.16-1) ... 313s Selecting previously unselected package libindirect-perl. 313s Preparing to unpack .../142-libindirect-perl_0.39-2build3_s390x.deb ... 313s Unpacking libindirect-perl (0.39-2build3) ... 313s Selecting previously unselected package libxs-parse-keyword-perl. 313s Preparing to unpack .../143-libxs-parse-keyword-perl_0.39-1build2_s390x.deb ... 313s Unpacking libxs-parse-keyword-perl (0.39-1build2) ... 313s Selecting previously unselected package libxs-parse-sublike-perl:s390x. 313s Preparing to unpack .../144-libxs-parse-sublike-perl_0.21-2build2_s390x.deb ... 313s Unpacking libxs-parse-sublike-perl:s390x (0.21-2build2) ... 313s Selecting previously unselected package libobject-pad-perl. 313s Preparing to unpack .../145-libobject-pad-perl_0.808-1build2_s390x.deb ... 313s Unpacking libobject-pad-perl (0.808-1build2) ... 313s Selecting previously unselected package libsyntax-keyword-try-perl. 313s Preparing to unpack .../146-libsyntax-keyword-try-perl_0.29-1build2_s390x.deb ... 313s Unpacking libsyntax-keyword-try-perl (0.29-1build2) ... 313s Selecting previously unselected package libio-interactive-perl. 313s Preparing to unpack .../147-libio-interactive-perl_1.025-1_all.deb ... 313s Unpacking libio-interactive-perl (1.025-1) ... 313s Selecting previously unselected package liblog-any-perl. 313s Preparing to unpack .../148-liblog-any-perl_1.717-1_all.deb ... 313s Unpacking liblog-any-perl (1.717-1) ... 313s Selecting previously unselected package liblog-any-adapter-screen-perl. 313s Preparing to unpack .../149-liblog-any-adapter-screen-perl_0.140-2_all.deb ... 313s Unpacking liblog-any-adapter-screen-perl (0.140-2) ... 313s Selecting previously unselected package libsub-exporter-progressive-perl. 313s Preparing to unpack .../150-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 313s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 313s Selecting previously unselected package libvariable-magic-perl. 313s Preparing to unpack .../151-libvariable-magic-perl_0.63-1build2_s390x.deb ... 313s Unpacking libvariable-magic-perl (0.63-1build2) ... 313s Selecting previously unselected package libb-hooks-endofscope-perl. 313s Preparing to unpack .../152-libb-hooks-endofscope-perl_0.28-1_all.deb ... 313s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 313s Selecting previously unselected package libsub-identify-perl. 313s Preparing to unpack .../153-libsub-identify-perl_0.14-3build2_s390x.deb ... 313s Unpacking libsub-identify-perl (0.14-3build2) ... 313s Selecting previously unselected package libsub-name-perl:s390x. 313s Preparing to unpack .../154-libsub-name-perl_0.27-1build2_s390x.deb ... 313s Unpacking libsub-name-perl:s390x (0.27-1build2) ... 313s Selecting previously unselected package libnamespace-clean-perl. 313s Preparing to unpack .../155-libnamespace-clean-perl_0.27-2_all.deb ... 313s Unpacking libnamespace-clean-perl (0.27-2) ... 313s Selecting previously unselected package libnumber-compare-perl. 313s Preparing to unpack .../156-libnumber-compare-perl_0.03-3_all.deb ... 313s Unpacking libnumber-compare-perl (0.03-3) ... 313s Selecting previously unselected package libtext-glob-perl. 313s Preparing to unpack .../157-libtext-glob-perl_0.11-3_all.deb ... 313s Unpacking libtext-glob-perl (0.11-3) ... 313s Selecting previously unselected package libpath-iterator-rule-perl. 313s Preparing to unpack .../158-libpath-iterator-rule-perl_1.015-2_all.deb ... 313s Unpacking libpath-iterator-rule-perl (1.015-2) ... 313s Selecting previously unselected package libpod-parser-perl. 313s Preparing to unpack .../159-libpod-parser-perl_1.67-1_all.deb ... 313s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 313s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 313s Unpacking libpod-parser-perl (1.67-1) ... 313s Selecting previously unselected package libpod-constants-perl. 313s Preparing to unpack .../160-libpod-constants-perl_0.19-2_all.deb ... 313s Unpacking libpod-constants-perl (0.19-2) ... 313s Selecting previously unselected package libset-intspan-perl. 313s Preparing to unpack .../161-libset-intspan-perl_1.19-3_all.deb ... 313s Unpacking libset-intspan-perl (1.19-3) ... 313s Selecting previously unselected package libstring-copyright-perl. 313s Preparing to unpack .../162-libstring-copyright-perl_0.003014-1_all.deb ... 313s Unpacking libstring-copyright-perl (0.003014-1) ... 313s Selecting previously unselected package libstring-escape-perl. 313s Preparing to unpack .../163-libstring-escape-perl_2010.002-3_all.deb ... 313s Unpacking libstring-escape-perl (2010.002-3) ... 313s Selecting previously unselected package libregexp-pattern-license-perl. 313s Preparing to unpack .../164-libregexp-pattern-license-perl_3.11.0-1_all.deb ... 313s Unpacking libregexp-pattern-license-perl (3.11.0-1) ... 313s Selecting previously unselected package libregexp-pattern-perl. 313s Preparing to unpack .../165-libregexp-pattern-perl_0.2.14-2_all.deb ... 313s Unpacking libregexp-pattern-perl (0.2.14-2) ... 313s Selecting previously unselected package libstring-license-perl. 313s Preparing to unpack .../166-libstring-license-perl_0.0.9-2ubuntu1_all.deb ... 313s Unpacking libstring-license-perl (0.0.9-2ubuntu1) ... 313s Selecting previously unselected package licensecheck. 313s Preparing to unpack .../167-licensecheck_3.3.9-1ubuntu1_all.deb ... 313s Unpacking licensecheck (3.3.9-1ubuntu1) ... 313s Selecting previously unselected package diffstat. 313s Preparing to unpack .../168-diffstat_1.66-1_s390x.deb ... 313s Unpacking diffstat (1.66-1) ... 313s Selecting previously unselected package libberkeleydb-perl:s390x. 313s Preparing to unpack .../169-libberkeleydb-perl_0.64-2build2_s390x.deb ... 313s Unpacking libberkeleydb-perl:s390x (0.64-2build2) ... 313s Selecting previously unselected package libclass-xsaccessor-perl. 314s Preparing to unpack .../170-libclass-xsaccessor-perl_1.19-4build3_s390x.deb ... 314s Unpacking libclass-xsaccessor-perl (1.19-4build3) ... 314s Selecting previously unselected package libconfig-tiny-perl. 314s Preparing to unpack .../171-libconfig-tiny-perl_2.30-1_all.deb ... 314s Unpacking libconfig-tiny-perl (2.30-1) ... 314s Selecting previously unselected package libconst-fast-perl. 314s Preparing to unpack .../172-libconst-fast-perl_0.014-2_all.deb ... 314s Unpacking libconst-fast-perl (0.014-2) ... 314s Selecting previously unselected package libcpanel-json-xs-perl:s390x. 314s Preparing to unpack .../173-libcpanel-json-xs-perl_4.37-1build2_s390x.deb ... 314s Unpacking libcpanel-json-xs-perl:s390x (4.37-1build2) ... 314s Selecting previously unselected package libaliased-perl. 314s Preparing to unpack .../174-libaliased-perl_0.34-3_all.deb ... 314s Unpacking libaliased-perl (0.34-3) ... 314s Selecting previously unselected package libclass-data-inheritable-perl. 314s Preparing to unpack .../175-libclass-data-inheritable-perl_0.08-3_all.deb ... 314s Unpacking libclass-data-inheritable-perl (0.08-3) ... 314s Selecting previously unselected package libdevel-stacktrace-perl. 314s Preparing to unpack .../176-libdevel-stacktrace-perl_2.0500-1_all.deb ... 314s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 314s Selecting previously unselected package libexception-class-perl. 314s Preparing to unpack .../177-libexception-class-perl_1.45-1_all.deb ... 314s Unpacking libexception-class-perl (1.45-1) ... 314s Selecting previously unselected package libiterator-perl. 314s Preparing to unpack .../178-libiterator-perl_0.03+ds1-2_all.deb ... 314s Unpacking libiterator-perl (0.03+ds1-2) ... 314s Selecting previously unselected package libiterator-util-perl. 314s Preparing to unpack .../179-libiterator-util-perl_0.02+ds1-2_all.deb ... 314s Unpacking libiterator-util-perl (0.02+ds1-2) ... 314s Selecting previously unselected package libdata-dpath-perl. 314s Preparing to unpack .../180-libdata-dpath-perl_0.59-1_all.deb ... 314s Unpacking libdata-dpath-perl (0.59-1) ... 314s Selecting previously unselected package libnet-domain-tld-perl. 314s Preparing to unpack .../181-libnet-domain-tld-perl_1.75-3_all.deb ... 314s Unpacking libnet-domain-tld-perl (1.75-3) ... 314s Selecting previously unselected package libdata-validate-domain-perl. 314s Preparing to unpack .../182-libdata-validate-domain-perl_0.10-1.1_all.deb ... 314s Unpacking libdata-validate-domain-perl (0.10-1.1) ... 314s Selecting previously unselected package libnet-ipv6addr-perl. 314s Preparing to unpack .../183-libnet-ipv6addr-perl_1.02-1_all.deb ... 314s Unpacking libnet-ipv6addr-perl (1.02-1) ... 314s Selecting previously unselected package libnet-netmask-perl. 314s Preparing to unpack .../184-libnet-netmask-perl_2.0002-2_all.deb ... 314s Unpacking libnet-netmask-perl (2.0002-2) ... 314s Selecting previously unselected package libnetaddr-ip-perl. 314s Preparing to unpack .../185-libnetaddr-ip-perl_4.079+dfsg-2build3_s390x.deb ... 314s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build3) ... 314s Selecting previously unselected package libdata-validate-ip-perl. 314s Preparing to unpack .../186-libdata-validate-ip-perl_0.31-1_all.deb ... 314s Unpacking libdata-validate-ip-perl (0.31-1) ... 314s Selecting previously unselected package libdata-validate-uri-perl. 314s Preparing to unpack .../187-libdata-validate-uri-perl_0.07-3_all.deb ... 314s Unpacking libdata-validate-uri-perl (0.07-3) ... 314s Selecting previously unselected package libdevel-size-perl. 314s Preparing to unpack .../188-libdevel-size-perl_0.83-2build3_s390x.deb ... 314s Unpacking libdevel-size-perl (0.83-2build3) ... 314s Selecting previously unselected package libemail-address-xs-perl. 314s Preparing to unpack .../189-libemail-address-xs-perl_1.05-1build3_s390x.deb ... 314s Unpacking libemail-address-xs-perl (1.05-1build3) ... 314s Selecting previously unselected package libipc-system-simple-perl. 314s Preparing to unpack .../190-libipc-system-simple-perl_1.30-2_all.deb ... 314s Unpacking libipc-system-simple-perl (1.30-2) ... 314s Selecting previously unselected package libfile-basedir-perl. 314s Preparing to unpack .../191-libfile-basedir-perl_0.09-2_all.deb ... 314s Unpacking libfile-basedir-perl (0.09-2) ... 314s Selecting previously unselected package libfile-find-rule-perl. 314s Preparing to unpack .../192-libfile-find-rule-perl_0.34-3_all.deb ... 314s Unpacking libfile-find-rule-perl (0.34-3) ... 314s Selecting previously unselected package libio-string-perl. 314s Preparing to unpack .../193-libio-string-perl_1.08-4_all.deb ... 314s Unpacking libio-string-perl (1.08-4) ... 314s Selecting previously unselected package libfont-ttf-perl. 314s Preparing to unpack .../194-libfont-ttf-perl_1.06-2_all.deb ... 314s Unpacking libfont-ttf-perl (1.06-2) ... 314s Selecting previously unselected package libhtml-html5-entities-perl. 314s Preparing to unpack .../195-libhtml-html5-entities-perl_0.004-3_all.deb ... 314s Unpacking libhtml-html5-entities-perl (0.004-3) ... 314s Selecting previously unselected package libhtml-tokeparser-simple-perl. 314s Preparing to unpack .../196-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 314s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 314s Selecting previously unselected package libipc-run3-perl. 314s Preparing to unpack .../197-libipc-run3-perl_0.049-1_all.deb ... 314s Unpacking libipc-run3-perl (0.049-1) ... 314s Selecting previously unselected package libjson-maybexs-perl. 314s Preparing to unpack .../198-libjson-maybexs-perl_1.004005-1_all.deb ... 314s Unpacking libjson-maybexs-perl (1.004005-1) ... 314s Selecting previously unselected package liblist-compare-perl. 314s Preparing to unpack .../199-liblist-compare-perl_0.55-2_all.deb ... 314s Unpacking liblist-compare-perl (0.55-2) ... 314s Selecting previously unselected package liblist-someutils-perl. 314s Preparing to unpack .../200-liblist-someutils-perl_0.59-1_all.deb ... 314s Unpacking liblist-someutils-perl (0.59-1) ... 314s Selecting previously unselected package liblist-utilsby-perl. 314s Preparing to unpack .../201-liblist-utilsby-perl_0.12-2_all.deb ... 314s Unpacking liblist-utilsby-perl (0.12-2) ... 314s Selecting previously unselected package libmldbm-perl. 314s Preparing to unpack .../202-libmldbm-perl_2.05-4_all.deb ... 314s Unpacking libmldbm-perl (2.05-4) ... 314s Selecting previously unselected package libclass-method-modifiers-perl. 314s Preparing to unpack .../203-libclass-method-modifiers-perl_2.15-1_all.deb ... 314s Unpacking libclass-method-modifiers-perl (2.15-1) ... 314s Selecting previously unselected package libimport-into-perl. 314s Preparing to unpack .../204-libimport-into-perl_1.002005-2_all.deb ... 314s Unpacking libimport-into-perl (1.002005-2) ... 314s Selecting previously unselected package librole-tiny-perl. 314s Preparing to unpack .../205-librole-tiny-perl_2.002004-1_all.deb ... 314s Unpacking librole-tiny-perl (2.002004-1) ... 314s Selecting previously unselected package libsub-quote-perl. 314s Preparing to unpack .../206-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 314s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 314s Selecting previously unselected package libmoo-perl. 314s Preparing to unpack .../207-libmoo-perl_2.005005-1_all.deb ... 314s Unpacking libmoo-perl (2.005005-1) ... 314s Selecting previously unselected package libstrictures-perl. 314s Preparing to unpack .../208-libstrictures-perl_2.000006-1_all.deb ... 314s Unpacking libstrictures-perl (2.000006-1) ... 314s Selecting previously unselected package libmoox-aliases-perl. 314s Preparing to unpack .../209-libmoox-aliases-perl_0.001006-2_all.deb ... 314s Unpacking libmoox-aliases-perl (0.001006-2) ... 314s Selecting previously unselected package libperlio-gzip-perl. 314s Preparing to unpack .../210-libperlio-gzip-perl_0.20-1build3_s390x.deb ... 314s Unpacking libperlio-gzip-perl (0.20-1build3) ... 314s Selecting previously unselected package libperlio-utf8-strict-perl. 314s Preparing to unpack .../211-libperlio-utf8-strict-perl_0.010-1build2_s390x.deb ... 314s Unpacking libperlio-utf8-strict-perl (0.010-1build2) ... 314s Selecting previously unselected package libproc-processtable-perl:s390x. 314s Preparing to unpack .../212-libproc-processtable-perl_0.636-1build2_s390x.deb ... 314s Unpacking libproc-processtable-perl:s390x (0.636-1build2) ... 314s Selecting previously unselected package libregexp-wildcards-perl. 314s Preparing to unpack .../213-libregexp-wildcards-perl_1.05-3_all.deb ... 314s Unpacking libregexp-wildcards-perl (1.05-3) ... 314s Selecting previously unselected package libsereal-decoder-perl. 314s Preparing to unpack .../214-libsereal-decoder-perl_5.004+ds-1build2_s390x.deb ... 314s Unpacking libsereal-decoder-perl (5.004+ds-1build2) ... 314s Selecting previously unselected package libsereal-encoder-perl. 314s Preparing to unpack .../215-libsereal-encoder-perl_5.004+ds-1build2_s390x.deb ... 314s Unpacking libsereal-encoder-perl (5.004+ds-1build2) ... 314s Selecting previously unselected package libterm-readkey-perl. 314s Preparing to unpack .../216-libterm-readkey-perl_2.38-2build3_s390x.deb ... 314s Unpacking libterm-readkey-perl (2.38-2build3) ... 314s Selecting previously unselected package libtext-levenshteinxs-perl. 314s Preparing to unpack .../217-libtext-levenshteinxs-perl_0.03-5build3_s390x.deb ... 314s Unpacking libtext-levenshteinxs-perl (0.03-5build3) ... 314s Selecting previously unselected package libmarkdown2:s390x. 314s Preparing to unpack .../218-libmarkdown2_2.2.7-2_s390x.deb ... 314s Unpacking libmarkdown2:s390x (2.2.7-2) ... 314s Selecting previously unselected package libtext-markdown-discount-perl. 314s Preparing to unpack .../219-libtext-markdown-discount-perl_0.16-1build2_s390x.deb ... 314s Unpacking libtext-markdown-discount-perl (0.16-1build2) ... 314s Selecting previously unselected package libdata-messagepack-perl. 314s Preparing to unpack .../220-libdata-messagepack-perl_1.02-1build3_s390x.deb ... 314s Unpacking libdata-messagepack-perl (1.02-1build3) ... 314s Selecting previously unselected package libtext-xslate-perl:s390x. 314s Preparing to unpack .../221-libtext-xslate-perl_3.5.9-1build4_s390x.deb ... 314s Unpacking libtext-xslate-perl:s390x (3.5.9-1build4) ... 314s Selecting previously unselected package libtime-duration-perl. 314s Preparing to unpack .../222-libtime-duration-perl_1.21-2_all.deb ... 314s Unpacking libtime-duration-perl (1.21-2) ... 314s Selecting previously unselected package libtime-moment-perl. 314s Preparing to unpack .../223-libtime-moment-perl_0.44-2build3_s390x.deb ... 314s Unpacking libtime-moment-perl (0.44-2build3) ... 314s Selecting previously unselected package libunicode-utf8-perl. 314s Preparing to unpack .../224-libunicode-utf8-perl_0.62-2build2_s390x.deb ... 314s Unpacking libunicode-utf8-perl (0.62-2build2) ... 314s Selecting previously unselected package libcgi-pm-perl. 314s Preparing to unpack .../225-libcgi-pm-perl_4.63-1_all.deb ... 314s Unpacking libcgi-pm-perl (4.63-1) ... 314s Selecting previously unselected package libhtml-form-perl. 315s Preparing to unpack .../226-libhtml-form-perl_6.11-1_all.deb ... 315s Unpacking libhtml-form-perl (6.11-1) ... 315s Selecting previously unselected package libwww-mechanize-perl. 315s Preparing to unpack .../227-libwww-mechanize-perl_2.18-1ubuntu1_all.deb ... 315s Unpacking libwww-mechanize-perl (2.18-1ubuntu1) ... 315s Selecting previously unselected package libxml-namespacesupport-perl. 315s Preparing to unpack .../228-libxml-namespacesupport-perl_1.12-2_all.deb ... 315s Unpacking libxml-namespacesupport-perl (1.12-2) ... 315s Selecting previously unselected package libxml-sax-base-perl. 315s Preparing to unpack .../229-libxml-sax-base-perl_1.09-3_all.deb ... 315s Unpacking libxml-sax-base-perl (1.09-3) ... 315s Selecting previously unselected package libxml-sax-perl. 315s Preparing to unpack .../230-libxml-sax-perl_1.02+dfsg-3_all.deb ... 315s Unpacking libxml-sax-perl (1.02+dfsg-3) ... 315s Selecting previously unselected package libxml-libxml-perl. 315s Preparing to unpack .../231-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build3_s390x.deb ... 315s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 315s Selecting previously unselected package lzip. 315s Preparing to unpack .../232-lzip_1.24.1-1_s390x.deb ... 315s Unpacking lzip (1.24.1-1) ... 315s Selecting previously unselected package lzop. 315s Preparing to unpack .../233-lzop_1.04-2build2_s390x.deb ... 315s Unpacking lzop (1.04-2build2) ... 315s Selecting previously unselected package patchutils. 315s Preparing to unpack .../234-patchutils_0.4.2-1build2_s390x.deb ... 315s Unpacking patchutils (0.4.2-1build2) ... 315s Selecting previously unselected package t1utils. 315s Preparing to unpack .../235-t1utils_1.41-4build2_s390x.deb ... 315s Unpacking t1utils (1.41-4build2) ... 315s Selecting previously unselected package unzip. 315s Preparing to unpack .../236-unzip_6.0-28ubuntu3_s390x.deb ... 315s Unpacking unzip (6.0-28ubuntu3) ... 315s Selecting previously unselected package lintian. 315s Preparing to unpack .../237-lintian_2.117.0ubuntu1_all.deb ... 315s Unpacking lintian (2.117.0ubuntu1) ... 315s Selecting previously unselected package libconfig-model-dpkg-perl. 315s Preparing to unpack .../238-libconfig-model-dpkg-perl_3.004_all.deb ... 315s Unpacking libconfig-model-dpkg-perl (3.004) ... 315s Selecting previously unselected package libconvert-binhex-perl. 315s Preparing to unpack .../239-libconvert-binhex-perl_1.125-3_all.deb ... 315s Unpacking libconvert-binhex-perl (1.125-3) ... 315s Selecting previously unselected package libnet-smtp-ssl-perl. 315s Preparing to unpack .../240-libnet-smtp-ssl-perl_1.04-2_all.deb ... 315s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 315s Selecting previously unselected package libmailtools-perl. 315s Preparing to unpack .../241-libmailtools-perl_2.21-2_all.deb ... 315s Unpacking libmailtools-perl (2.21-2) ... 315s Selecting previously unselected package libmime-tools-perl. 315s Preparing to unpack .../242-libmime-tools-perl_5.514-1_all.deb ... 315s Unpacking libmime-tools-perl (5.514-1) ... 315s Selecting previously unselected package libsuitesparseconfig7:s390x. 315s Preparing to unpack .../243-libsuitesparseconfig7_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libsuitesparseconfig7:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libamd3:s390x. 315s Preparing to unpack .../244-libamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libamd3:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libblas3:s390x. 315s Preparing to unpack .../245-libblas3_3.12.0-3_s390x.deb ... 315s Unpacking libblas3:s390x (3.12.0-3) ... 315s Selecting previously unselected package libgfortran5:s390x. 315s Preparing to unpack .../246-libgfortran5_14-20240315-1ubuntu1_s390x.deb ... 315s Unpacking libgfortran5:s390x (14-20240315-1ubuntu1) ... 315s Selecting previously unselected package liblapack3:s390x. 315s Preparing to unpack .../247-liblapack3_3.12.0-3_s390x.deb ... 315s Unpacking liblapack3:s390x (3.12.0-3) ... 315s Selecting previously unselected package libarpack2t64:s390x. 315s Preparing to unpack .../248-libarpack2t64_3.9.1-1.1build1_s390x.deb ... 315s Unpacking libarpack2t64:s390x (3.9.1-1.1build1) ... 315s Selecting previously unselected package libccolamd3:s390x. 315s Preparing to unpack .../249-libccolamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libccolamd3:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libcamd3:s390x. 315s Preparing to unpack .../250-libcamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libcamd3:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libcolamd3:s390x. 315s Preparing to unpack .../251-libcolamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libcolamd3:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libcholmod5:s390x. 315s Preparing to unpack .../252-libcholmod5_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libcholmod5:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libcxsparse4:s390x. 315s Preparing to unpack .../253-libcxsparse4_1%3a7.6.1+dfsg-1_s390x.deb ... 315s Unpacking libcxsparse4:s390x (1:7.6.1+dfsg-1) ... 315s Selecting previously unselected package libfftw3-double3:s390x. 315s Preparing to unpack .../254-libfftw3-double3_3.3.10-1ubuntu2_s390x.deb ... 315s Unpacking libfftw3-double3:s390x (3.3.10-1ubuntu2) ... 315s Selecting previously unselected package libfftw3-single3:s390x. 315s Preparing to unpack .../255-libfftw3-single3_3.3.10-1ubuntu2_s390x.deb ... 315s Unpacking libfftw3-single3:s390x (3.3.10-1ubuntu2) ... 315s Selecting previously unselected package libxfixes3:s390x. 315s Preparing to unpack .../256-libxfixes3_1%3a6.0.0-2_s390x.deb ... 315s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 315s Selecting previously unselected package libxcursor1:s390x. 315s Preparing to unpack .../257-libxcursor1_1%3a1.2.1-1_s390x.deb ... 315s Unpacking libxcursor1:s390x (1:1.2.1-1) ... 315s Selecting previously unselected package libxft2:s390x. 316s Preparing to unpack .../258-libxft2_2.3.6-1_s390x.deb ... 316s Unpacking libxft2:s390x (2.3.6-1) ... 316s Selecting previously unselected package libxinerama1:s390x. 316s Preparing to unpack .../259-libxinerama1_2%3a1.1.4-3_s390x.deb ... 316s Unpacking libxinerama1:s390x (2:1.1.4-3) ... 316s Selecting previously unselected package libfltk1.3t64:s390x. 316s Preparing to unpack .../260-libfltk1.3t64_1.3.8-6.1build1_s390x.deb ... 316s Unpacking libfltk1.3t64:s390x (1.3.8-6.1build1) ... 316s Selecting previously unselected package libglvnd0:s390x. 316s Preparing to unpack .../261-libglvnd0_1.7.0-1_s390x.deb ... 316s Unpacking libglvnd0:s390x (1.7.0-1) ... 316s Selecting previously unselected package libglapi-mesa:s390x. 316s Preparing to unpack .../262-libglapi-mesa_24.0.3-1ubuntu3_s390x.deb ... 316s Unpacking libglapi-mesa:s390x (24.0.3-1ubuntu3) ... 316s Selecting previously unselected package libx11-xcb1:s390x. 316s Preparing to unpack .../263-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 316s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 316s Selecting previously unselected package libxcb-dri2-0:s390x. 316s Preparing to unpack .../264-libxcb-dri2-0_1.15-1_s390x.deb ... 316s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-dri3-0:s390x. 316s Preparing to unpack .../265-libxcb-dri3-0_1.15-1_s390x.deb ... 316s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-glx0:s390x. 316s Preparing to unpack .../266-libxcb-glx0_1.15-1_s390x.deb ... 316s Unpacking libxcb-glx0:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-present0:s390x. 316s Preparing to unpack .../267-libxcb-present0_1.15-1_s390x.deb ... 316s Unpacking libxcb-present0:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-randr0:s390x. 316s Preparing to unpack .../268-libxcb-randr0_1.15-1_s390x.deb ... 316s Unpacking libxcb-randr0:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-sync1:s390x. 316s Preparing to unpack .../269-libxcb-sync1_1.15-1_s390x.deb ... 316s Unpacking libxcb-sync1:s390x (1.15-1) ... 316s Selecting previously unselected package libxcb-xfixes0:s390x. 316s Preparing to unpack .../270-libxcb-xfixes0_1.15-1_s390x.deb ... 316s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 316s Selecting previously unselected package libxshmfence1:s390x. 316s Preparing to unpack .../271-libxshmfence1_1.3-1build4_s390x.deb ... 316s Unpacking libxshmfence1:s390x (1.3-1build4) ... 316s Selecting previously unselected package libxxf86vm1:s390x. 316s Preparing to unpack .../272-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 316s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 316s Selecting previously unselected package libvulkan1:s390x. 316s Preparing to unpack .../273-libvulkan1_1.3.275.0-1_s390x.deb ... 316s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 316s Selecting previously unselected package libdrm-amdgpu1:s390x. 316s Preparing to unpack .../274-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 316s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 316s Selecting previously unselected package libdrm-nouveau2:s390x. 316s Preparing to unpack .../275-libdrm-nouveau2_2.4.120-2_s390x.deb ... 316s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 316s Selecting previously unselected package libdrm-radeon1:s390x. 316s Preparing to unpack .../276-libdrm-radeon1_2.4.120-2_s390x.deb ... 316s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 316s Selecting previously unselected package libllvm17t64:s390x. 316s Preparing to unpack .../277-libllvm17t64_1%3a17.0.6-9build2_s390x.deb ... 316s Unpacking libllvm17t64:s390x (1:17.0.6-9build2) ... 317s Selecting previously unselected package libgl1-mesa-dri:s390x. 317s Preparing to unpack .../278-libgl1-mesa-dri_24.0.3-1ubuntu3_s390x.deb ... 317s Unpacking libgl1-mesa-dri:s390x (24.0.3-1ubuntu3) ... 317s Selecting previously unselected package libglx-mesa0:s390x. 317s Preparing to unpack .../279-libglx-mesa0_24.0.3-1ubuntu3_s390x.deb ... 317s Unpacking libglx-mesa0:s390x (24.0.3-1ubuntu3) ... 317s Selecting previously unselected package libglx0:s390x. 317s Preparing to unpack .../280-libglx0_1.7.0-1_s390x.deb ... 317s Unpacking libglx0:s390x (1.7.0-1) ... 317s Selecting previously unselected package libgl1:s390x. 317s Preparing to unpack .../281-libgl1_1.7.0-1_s390x.deb ... 317s Unpacking libgl1:s390x (1.7.0-1) ... 317s Selecting previously unselected package libfltk-gl1.3t64:s390x. 317s Preparing to unpack .../282-libfltk-gl1.3t64_1.3.8-6.1build1_s390x.deb ... 317s Unpacking libfltk-gl1.3t64:s390x (1.3.8-6.1build1) ... 317s Selecting previously unselected package libgl2ps1.4. 317s Preparing to unpack .../283-libgl2ps1.4_1.4.2+dfsg1-2_s390x.deb ... 317s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... 317s Selecting previously unselected package libltdl7:s390x. 317s Preparing to unpack .../284-libltdl7_2.4.7-7_s390x.deb ... 317s Unpacking libltdl7:s390x (2.4.7-7) ... 317s Selecting previously unselected package libglpk40:s390x. 317s Preparing to unpack .../285-libglpk40_5.0-1build1_s390x.deb ... 317s Unpacking libglpk40:s390x (5.0-1build1) ... 317s Selecting previously unselected package libopengl0:s390x. 317s Preparing to unpack .../286-libopengl0_1.7.0-1_s390x.deb ... 317s Unpacking libopengl0:s390x (1.7.0-1) ... 317s Selecting previously unselected package libglu1-mesa:s390x. 317s Preparing to unpack .../287-libglu1-mesa_9.0.2-1.1_s390x.deb ... 317s Unpacking libglu1-mesa:s390x (9.0.2-1.1) ... 317s Selecting previously unselected package libdav1d7:s390x. 317s Preparing to unpack .../288-libdav1d7_1.4.1-1_s390x.deb ... 317s Unpacking libdav1d7:s390x (1.4.1-1) ... 317s Selecting previously unselected package libheif-plugin-dav1d:s390x. 317s Preparing to unpack .../289-libheif-plugin-dav1d_1.17.6-1ubuntu2_s390x.deb ... 317s Unpacking libheif-plugin-dav1d:s390x (1.17.6-1ubuntu2) ... 317s Selecting previously unselected package libde265-0:s390x. 317s Preparing to unpack .../290-libde265-0_1.0.15-1build1_s390x.deb ... 317s Unpacking libde265-0:s390x (1.0.15-1build1) ... 317s Selecting previously unselected package libheif-plugin-libde265:s390x. 317s Preparing to unpack .../291-libheif-plugin-libde265_1.17.6-1ubuntu2_s390x.deb ... 317s Unpacking libheif-plugin-libde265:s390x (1.17.6-1ubuntu2) ... 317s Selecting previously unselected package libheif1:s390x. 317s Preparing to unpack .../292-libheif1_1.17.6-1ubuntu2_s390x.deb ... 317s Unpacking libheif1:s390x (1.17.6-1ubuntu2) ... 317s Selecting previously unselected package libhwy1t64:s390x. 317s Preparing to unpack .../293-libhwy1t64_1.0.7-8.1_s390x.deb ... 317s Unpacking libhwy1t64:s390x (1.0.7-8.1) ... 317s Selecting previously unselected package liblcms2-2:s390x. 317s Preparing to unpack .../294-liblcms2-2_2.14-2_s390x.deb ... 317s Unpacking liblcms2-2:s390x (2.14-2) ... 317s Selecting previously unselected package libjxl0.7:s390x. 317s Preparing to unpack .../295-libjxl0.7_0.7.0-10.2ubuntu4_s390x.deb ... 317s Unpacking libjxl0.7:s390x (0.7.0-10.2ubuntu4) ... 317s Selecting previously unselected package libwmflite-0.2-7:s390x. 317s Preparing to unpack .../296-libwmflite-0.2-7_0.2.13-1.1build2_s390x.deb ... 317s Unpacking libwmflite-0.2-7:s390x (0.2.13-1.1build2) ... 317s Selecting previously unselected package libgraphicsmagick-q16-3t64. 317s Preparing to unpack .../297-libgraphicsmagick-q16-3t64_1.4+really1.3.42-1.1build1_s390x.deb ... 317s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 317s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 317s Preparing to unpack .../298-libgraphicsmagick++-q16-12t64_1.4+really1.3.42-1.1build1_s390x.deb ... 317s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 317s Selecting previously unselected package libaec0:s390x. 317s Preparing to unpack .../299-libaec0_1.1.2-1_s390x.deb ... 317s Unpacking libaec0:s390x (1.1.2-1) ... 317s Selecting previously unselected package libsz2:s390x. 317s Preparing to unpack .../300-libsz2_1.1.2-1_s390x.deb ... 317s Unpacking libsz2:s390x (1.1.2-1) ... 317s Selecting previously unselected package libhdf5-103-1t64:s390x. 317s Preparing to unpack .../301-libhdf5-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 317s Unpacking libhdf5-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 317s Selecting previously unselected package libasound2-data. 317s Preparing to unpack .../302-libasound2-data_1.2.11-1build1_all.deb ... 317s Unpacking libasound2-data (1.2.11-1build1) ... 317s Selecting previously unselected package libasound2t64:s390x. 317s Preparing to unpack .../303-libasound2t64_1.2.11-1build1_s390x.deb ... 317s Unpacking libasound2t64:s390x (1.2.11-1build1) ... 317s Selecting previously unselected package libopus0:s390x. 317s Preparing to unpack .../304-libopus0_1.4-1_s390x.deb ... 317s Unpacking libopus0:s390x (1.4-1) ... 317s Selecting previously unselected package libsamplerate0:s390x. 317s Preparing to unpack .../305-libsamplerate0_0.2.2-4_s390x.deb ... 317s Unpacking libsamplerate0:s390x (0.2.2-4) ... 317s Selecting previously unselected package libjack-jackd2-0:s390x. 317s Preparing to unpack .../306-libjack-jackd2-0_1.9.21~dfsg-3ubuntu1_s390x.deb ... 317s Unpacking libjack-jackd2-0:s390x (1.9.21~dfsg-3ubuntu1) ... 317s Selecting previously unselected package libportaudio2:s390x. 317s Preparing to unpack .../307-libportaudio2_19.6.0-1.2build1_s390x.deb ... 317s Unpacking libportaudio2:s390x (19.6.0-1.2build1) ... 317s Selecting previously unselected package libqhull-r8.0:s390x. 317s Preparing to unpack .../308-libqhull-r8.0_2020.2-6_s390x.deb ... 317s Unpacking libqhull-r8.0:s390x (2020.2-6) ... 317s Selecting previously unselected package libqrupdate1:s390x. 317s Preparing to unpack .../309-libqrupdate1_1.1.2-4_s390x.deb ... 317s Unpacking libqrupdate1:s390x (1.1.2-4) ... 317s Selecting previously unselected package libqscintilla2-qt5-l10n. 317s Preparing to unpack .../310-libqscintilla2-qt5-l10n_2.14.1+dfsg-1build2_all.deb ... 317s Unpacking libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 317s Selecting previously unselected package libdouble-conversion3:s390x. 317s Preparing to unpack .../311-libdouble-conversion3_3.3.0-1_s390x.deb ... 317s Unpacking libdouble-conversion3:s390x (3.3.0-1) ... 317s Selecting previously unselected package libpcre2-16-0:s390x. 317s Preparing to unpack .../312-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 317s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 318s Selecting previously unselected package libqt5core5t64:s390x. 318s Preparing to unpack .../313-libqt5core5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5core5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libwayland-server0:s390x. 318s Preparing to unpack .../314-libwayland-server0_1.22.0-2.1_s390x.deb ... 318s Unpacking libwayland-server0:s390x (1.22.0-2.1) ... 318s Selecting previously unselected package libgbm1:s390x. 318s Preparing to unpack .../315-libgbm1_24.0.3-1ubuntu3_s390x.deb ... 318s Unpacking libgbm1:s390x (24.0.3-1ubuntu3) ... 318s Selecting previously unselected package libwayland-client0:s390x. 318s Preparing to unpack .../316-libwayland-client0_1.22.0-2.1_s390x.deb ... 318s Unpacking libwayland-client0:s390x (1.22.0-2.1) ... 318s Selecting previously unselected package libegl-mesa0:s390x. 318s Preparing to unpack .../317-libegl-mesa0_24.0.3-1ubuntu3_s390x.deb ... 318s Unpacking libegl-mesa0:s390x (24.0.3-1ubuntu3) ... 318s Selecting previously unselected package libegl1:s390x. 318s Preparing to unpack .../318-libegl1_1.7.0-1_s390x.deb ... 318s Unpacking libegl1:s390x (1.7.0-1) ... 318s Selecting previously unselected package x11-common. 318s Preparing to unpack .../319-x11-common_1%3a7.7+23ubuntu2_all.deb ... 318s Unpacking x11-common (1:7.7+23ubuntu2) ... 318s Selecting previously unselected package libice6:s390x. 318s Preparing to unpack .../320-libice6_2%3a1.0.10-1build2_s390x.deb ... 318s Unpacking libice6:s390x (2:1.0.10-1build2) ... 318s Selecting previously unselected package libmtdev1t64:s390x. 318s Preparing to unpack .../321-libmtdev1t64_1.1.6-1.1_s390x.deb ... 318s Unpacking libmtdev1t64:s390x (1.1.6-1.1) ... 318s Selecting previously unselected package libwacom-common. 318s Preparing to unpack .../322-libwacom-common_2.10.0-1build1_all.deb ... 318s Unpacking libwacom-common (2.10.0-1build1) ... 318s Selecting previously unselected package libwacom9:s390x. 318s Preparing to unpack .../323-libwacom9_2.10.0-1build1_s390x.deb ... 318s Unpacking libwacom9:s390x (2.10.0-1build1) ... 318s Selecting previously unselected package libinput-bin. 318s Preparing to unpack .../324-libinput-bin_1.25.0-1ubuntu1_s390x.deb ... 318s Unpacking libinput-bin (1.25.0-1ubuntu1) ... 318s Selecting previously unselected package libinput10:s390x. 318s Preparing to unpack .../325-libinput10_1.25.0-1ubuntu1_s390x.deb ... 318s Unpacking libinput10:s390x (1.25.0-1ubuntu1) ... 318s Selecting previously unselected package libmd4c0:s390x. 318s Preparing to unpack .../326-libmd4c0_0.4.8-1_s390x.deb ... 318s Unpacking libmd4c0:s390x (0.4.8-1) ... 318s Selecting previously unselected package libqt5dbus5t64:s390x. 318s Preparing to unpack .../327-libqt5dbus5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5dbus5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libqt5network5t64:s390x. 318s Preparing to unpack .../328-libqt5network5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5network5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libsm6:s390x. 318s Preparing to unpack .../329-libsm6_2%3a1.2.3-1build2_s390x.deb ... 318s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 318s Selecting previously unselected package libxcb-icccm4:s390x. 318s Preparing to unpack .../330-libxcb-icccm4_0.4.1-1.1build2_s390x.deb ... 318s Unpacking libxcb-icccm4:s390x (0.4.1-1.1build2) ... 318s Selecting previously unselected package libxcb-util1:s390x. 318s Preparing to unpack .../331-libxcb-util1_0.4.0-1build2_s390x.deb ... 318s Unpacking libxcb-util1:s390x (0.4.0-1build2) ... 318s Selecting previously unselected package libxcb-image0:s390x. 318s Preparing to unpack .../332-libxcb-image0_0.4.0-2_s390x.deb ... 318s Unpacking libxcb-image0:s390x (0.4.0-2) ... 318s Selecting previously unselected package libxcb-keysyms1:s390x. 318s Preparing to unpack .../333-libxcb-keysyms1_0.4.0-1build3_s390x.deb ... 318s Unpacking libxcb-keysyms1:s390x (0.4.0-1build3) ... 318s Selecting previously unselected package libxcb-render-util0:s390x. 318s Preparing to unpack .../334-libxcb-render-util0_0.3.9-1build3_s390x.deb ... 318s Unpacking libxcb-render-util0:s390x (0.3.9-1build3) ... 318s Selecting previously unselected package libxcb-shape0:s390x. 318s Preparing to unpack .../335-libxcb-shape0_1.15-1_s390x.deb ... 318s Unpacking libxcb-shape0:s390x (1.15-1) ... 318s Selecting previously unselected package libxcb-xinerama0:s390x. 318s Preparing to unpack .../336-libxcb-xinerama0_1.15-1_s390x.deb ... 318s Unpacking libxcb-xinerama0:s390x (1.15-1) ... 318s Selecting previously unselected package libxcb-xinput0:s390x. 318s Preparing to unpack .../337-libxcb-xinput0_1.15-1_s390x.deb ... 318s Unpacking libxcb-xinput0:s390x (1.15-1) ... 318s Selecting previously unselected package libxcb-xkb1:s390x. 318s Preparing to unpack .../338-libxcb-xkb1_1.15-1_s390x.deb ... 318s Unpacking libxcb-xkb1:s390x (1.15-1) ... 318s Selecting previously unselected package libxkbcommon-x11-0:s390x. 318s Preparing to unpack .../339-libxkbcommon-x11-0_1.6.0-1_s390x.deb ... 318s Unpacking libxkbcommon-x11-0:s390x (1.6.0-1) ... 318s Selecting previously unselected package libqt5gui5t64:s390x. 318s Preparing to unpack .../340-libqt5gui5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5gui5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libavahi-common-data:s390x. 318s Preparing to unpack .../341-libavahi-common-data_0.8-13ubuntu4_s390x.deb ... 318s Unpacking libavahi-common-data:s390x (0.8-13ubuntu4) ... 318s Selecting previously unselected package libavahi-common3:s390x. 318s Preparing to unpack .../342-libavahi-common3_0.8-13ubuntu4_s390x.deb ... 318s Unpacking libavahi-common3:s390x (0.8-13ubuntu4) ... 318s Selecting previously unselected package libavahi-client3:s390x. 318s Preparing to unpack .../343-libavahi-client3_0.8-13ubuntu4_s390x.deb ... 318s Unpacking libavahi-client3:s390x (0.8-13ubuntu4) ... 318s Selecting previously unselected package libcups2t64:s390x. 318s Preparing to unpack .../344-libcups2t64_2.4.7-1.2ubuntu2_s390x.deb ... 318s Unpacking libcups2t64:s390x (2.4.7-1.2ubuntu2) ... 318s Selecting previously unselected package libqt5widgets5t64:s390x. 318s Preparing to unpack .../345-libqt5widgets5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5widgets5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libqt5printsupport5t64:s390x. 318s Preparing to unpack .../346-libqt5printsupport5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5printsupport5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libqscintilla2-qt5-15:s390x. 318s Preparing to unpack .../347-libqscintilla2-qt5-15_2.14.1+dfsg-1build2_s390x.deb ... 318s Unpacking libqscintilla2-qt5-15:s390x (2.14.1+dfsg-1build2) ... 318s Selecting previously unselected package libqt5sql5t64:s390x. 318s Preparing to unpack .../348-libqt5sql5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 318s Unpacking libqt5sql5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 318s Selecting previously unselected package libqt5help5:s390x. 319s Preparing to unpack .../349-libqt5help5_5.15.12-2build2_s390x.deb ... 319s Unpacking libqt5help5:s390x (5.15.12-2build2) ... 319s Selecting previously unselected package libqt5xml5t64:s390x. 319s Preparing to unpack .../350-libqt5xml5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 319s Unpacking libqt5xml5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 319s Selecting previously unselected package libogg0:s390x. 319s Preparing to unpack .../351-libogg0_1.3.5-3_s390x.deb ... 319s Unpacking libogg0:s390x (1.3.5-3) ... 319s Selecting previously unselected package libflac12t64:s390x. 319s Preparing to unpack .../352-libflac12t64_1.4.3+ds-2.1ubuntu1_s390x.deb ... 319s Unpacking libflac12t64:s390x (1.4.3+ds-2.1ubuntu1) ... 319s Selecting previously unselected package libmp3lame0:s390x. 319s Preparing to unpack .../353-libmp3lame0_3.100-6_s390x.deb ... 319s Unpacking libmp3lame0:s390x (3.100-6) ... 319s Selecting previously unselected package libmpg123-0:s390x. 319s Preparing to unpack .../354-libmpg123-0_1.32.5-1build1_s390x.deb ... 319s Unpacking libmpg123-0:s390x (1.32.5-1build1) ... 319s Selecting previously unselected package libvorbis0a:s390x. 319s Preparing to unpack .../355-libvorbis0a_1.3.7-1build2_s390x.deb ... 319s Unpacking libvorbis0a:s390x (1.3.7-1build2) ... 319s Selecting previously unselected package libvorbisenc2:s390x. 319s Preparing to unpack .../356-libvorbisenc2_1.3.7-1build2_s390x.deb ... 319s Unpacking libvorbisenc2:s390x (1.3.7-1build2) ... 319s Selecting previously unselected package libsndfile1:s390x. 319s Preparing to unpack .../357-libsndfile1_1.2.2-1ubuntu3_s390x.deb ... 319s Unpacking libsndfile1:s390x (1.2.2-1ubuntu3) ... 319s Selecting previously unselected package libspqr4:s390x. 319s Preparing to unpack .../358-libspqr4_1%3a7.6.1+dfsg-1_s390x.deb ... 319s Unpacking libspqr4:s390x (1:7.6.1+dfsg-1) ... 319s Selecting previously unselected package libsundials-ida6:s390x. 319s Preparing to unpack .../359-libsundials-ida6_6.4.1+dfsg1-3build3_s390x.deb ... 319s Unpacking libsundials-ida6:s390x (6.4.1+dfsg1-3build3) ... 319s Selecting previously unselected package libbtf2:s390x. 319s Preparing to unpack .../360-libbtf2_1%3a7.6.1+dfsg-1_s390x.deb ... 319s Unpacking libbtf2:s390x (1:7.6.1+dfsg-1) ... 319s Selecting previously unselected package libklu2:s390x. 319s Preparing to unpack .../361-libklu2_1%3a7.6.1+dfsg-1_s390x.deb ... 319s Unpacking libklu2:s390x (1:7.6.1+dfsg-1) ... 319s Selecting previously unselected package libfftw3-long3:s390x. 319s Preparing to unpack .../362-libfftw3-long3_3.3.10-1ubuntu2_s390x.deb ... 319s Unpacking libfftw3-long3:s390x (3.3.10-1ubuntu2) ... 319s Selecting previously unselected package libevent-pthreads-2.1-7:s390x. 319s Preparing to unpack .../363-libevent-pthreads-2.1-7_2.1.12-stable-9build1_s390x.deb ... 319s Unpacking libevent-pthreads-2.1-7:s390x (2.1.12-stable-9build1) ... 319s Selecting previously unselected package librdmacm1t64:s390x. 319s Preparing to unpack .../364-librdmacm1t64_50.0-2build1_s390x.deb ... 319s Unpacking librdmacm1t64:s390x (50.0-2build1) ... 319s Selecting previously unselected package libfabric1:s390x. 319s Preparing to unpack .../365-libfabric1_1.17.0-3build1_s390x.deb ... 319s Unpacking libfabric1:s390x (1.17.0-3build1) ... 319s Selecting previously unselected package libhwloc15:s390x. 319s Preparing to unpack .../366-libhwloc15_2.10.0-1_s390x.deb ... 319s Unpacking libhwloc15:s390x (2.10.0-1) ... 319s Selecting previously unselected package libmunge2:s390x. 319s Preparing to unpack .../367-libmunge2_0.5.15-4_s390x.deb ... 319s Unpacking libmunge2:s390x (0.5.15-4) ... 319s Selecting previously unselected package libpciaccess0:s390x. 319s Preparing to unpack .../368-libpciaccess0_0.17-3_s390x.deb ... 319s Unpacking libpciaccess0:s390x (0.17-3) ... 319s Selecting previously unselected package libxnvctrl0:s390x. 319s Preparing to unpack .../369-libxnvctrl0_510.47.03-0ubuntu3_s390x.deb ... 319s Unpacking libxnvctrl0:s390x (510.47.03-0ubuntu3) ... 319s Selecting previously unselected package ocl-icd-libopencl1:s390x. 319s Preparing to unpack .../370-ocl-icd-libopencl1_2.3.2-1_s390x.deb ... 319s Unpacking ocl-icd-libopencl1:s390x (2.3.2-1) ... 319s Selecting previously unselected package libhwloc-plugins:s390x. 319s Preparing to unpack .../371-libhwloc-plugins_2.10.0-1_s390x.deb ... 319s Unpacking libhwloc-plugins:s390x (2.10.0-1) ... 319s Selecting previously unselected package libpmix2t64:s390x. 319s Preparing to unpack .../372-libpmix2t64_5.0.1-4.1_s390x.deb ... 319s Unpacking libpmix2t64:s390x (5.0.1-4.1) ... 319s Selecting previously unselected package libopenmpi3t64:s390x. 319s Preparing to unpack .../373-libopenmpi3t64_4.1.6-7ubuntu1_s390x.deb ... 319s Unpacking libopenmpi3t64:s390x (4.1.6-7ubuntu1) ... 319s Selecting previously unselected package libfftw3-mpi3:s390x. 319s Preparing to unpack .../374-libfftw3-mpi3_3.3.10-1ubuntu2_s390x.deb ... 319s Unpacking libfftw3-mpi3:s390x (3.3.10-1ubuntu2) ... 319s Selecting previously unselected package libhdf5-openmpi-103-1t64:s390x. 319s Preparing to unpack .../375-libhdf5-openmpi-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 319s Unpacking libhdf5-openmpi-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 319s Selecting previously unselected package libcombblas2.0.0t64:s390x. 319s Preparing to unpack .../376-libcombblas2.0.0t64_2.0.0-3.1build1_s390x.deb ... 319s Unpacking libcombblas2.0.0t64:s390x (2.0.0-3.1build1) ... 319s Selecting previously unselected package libmetis5:s390x. 319s Preparing to unpack .../377-libmetis5_5.1.0.dfsg-7build2_s390x.deb ... 319s Unpacking libmetis5:s390x (5.1.0.dfsg-7build2) ... 319s Selecting previously unselected package libptscotch-7.0:s390x. 319s Preparing to unpack .../378-libptscotch-7.0_7.0.4-1ubuntu1_s390x.deb ... 319s Unpacking libptscotch-7.0:s390x (7.0.4-1ubuntu1) ... 319s Selecting previously unselected package libsuperlu-dist8:s390x. 319s Preparing to unpack .../379-libsuperlu-dist8_8.2.1+dfsg1-1build1_s390x.deb ... 319s Unpacking libsuperlu-dist8:s390x (8.2.1+dfsg1-1build1) ... 319s Selecting previously unselected package libhypre-2.28.0:s390x. 319s Preparing to unpack .../380-libhypre-2.28.0_2.28.0-8build1_s390x.deb ... 319s Unpacking libhypre-2.28.0:s390x (2.28.0-8build1) ... 319s Selecting previously unselected package openmpi-common. 319s Preparing to unpack .../381-openmpi-common_4.1.6-7ubuntu1_all.deb ... 319s Unpacking openmpi-common (4.1.6-7ubuntu1) ... 319s Selecting previously unselected package openmpi-bin. 319s Preparing to unpack .../382-openmpi-bin_4.1.6-7ubuntu1_s390x.deb ... 319s Unpacking openmpi-bin (4.1.6-7ubuntu1) ... 319s Selecting previously unselected package mpi-default-bin. 319s Preparing to unpack .../383-mpi-default-bin_1.15_s390x.deb ... 319s Unpacking mpi-default-bin (1.15) ... 319s Selecting previously unselected package libscalapack-openmpi2.2:s390x. 319s Preparing to unpack .../384-libscalapack-openmpi2.2_2.2.1-3build1_s390x.deb ... 319s Unpacking libscalapack-openmpi2.2:s390x (2.2.1-3build1) ... 319s Selecting previously unselected package libmumps-5.6t64:s390x. 320s Preparing to unpack .../385-libmumps-5.6t64_5.6.2-2.1build1_s390x.deb ... 320s Unpacking libmumps-5.6t64:s390x (5.6.2-2.1build1) ... 320s Selecting previously unselected package libsuperlu6:s390x. 320s Preparing to unpack .../386-libsuperlu6_6.0.1+dfsg1-1_s390x.deb ... 320s Unpacking libsuperlu6:s390x (6.0.1+dfsg1-1) ... 320s Selecting previously unselected package libscotch-7.0:s390x. 320s Preparing to unpack .../387-libscotch-7.0_7.0.4-1ubuntu1_s390x.deb ... 320s Unpacking libscotch-7.0:s390x (7.0.4-1ubuntu1) ... 320s Selecting previously unselected package libtrilinos-kokkos-13.2:s390x. 320s Preparing to unpack .../388-libtrilinos-kokkos-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-kokkos-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-teuchos-13.2:s390x. 320s Preparing to unpack .../389-libtrilinos-teuchos-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-teuchos-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-epetra-13.2:s390x. 320s Preparing to unpack .../390-libtrilinos-epetra-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-epetra-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-triutils-13.2:s390x. 320s Preparing to unpack .../391-libtrilinos-triutils-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-triutils-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-epetraext-13.2:s390x. 320s Preparing to unpack .../392-libtrilinos-epetraext-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-epetraext-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-trilinosss-13.2:s390x. 320s Preparing to unpack .../393-libtrilinos-trilinosss-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-trilinosss-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-amesos-13.2:s390x. 320s Preparing to unpack .../394-libtrilinos-amesos-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-amesos-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-aztecoo-13.2:s390x. 320s Preparing to unpack .../395-libtrilinos-aztecoo-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-aztecoo-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-galeri-13.2:s390x. 320s Preparing to unpack .../396-libtrilinos-galeri-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-galeri-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-ifpack-13.2:s390x. 320s Preparing to unpack .../397-libtrilinos-ifpack-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-ifpack-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-zoltan-13.2:s390x. 320s Preparing to unpack .../398-libtrilinos-zoltan-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-zoltan-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libtrilinos-ml-13.2:s390x. 320s Preparing to unpack .../399-libtrilinos-ml-13.2_13.2.0-5build1_s390x.deb ... 320s Unpacking libtrilinos-ml-13.2:s390x (13.2.0-5build1) ... 320s Selecting previously unselected package libumfpack6:s390x. 320s Preparing to unpack .../400-libumfpack6_1%3a7.6.1+dfsg-1_s390x.deb ... 320s Unpacking libumfpack6:s390x (1:7.6.1+dfsg-1) ... 320s Selecting previously unselected package libpetsc-real3.19t64:s390x. 320s Preparing to unpack .../401-libpetsc-real3.19t64_3.19.6+dfsg1-2.2ubuntu1_s390x.deb ... 320s Unpacking libpetsc-real3.19t64:s390x (3.19.6+dfsg1-2.2ubuntu1) ... 320s Selecting previously unselected package libsundials-nvecparallel-petsc6:s390x. 320s Preparing to unpack .../402-libsundials-nvecparallel-petsc6_6.4.1+dfsg1-3build3_s390x.deb ... 320s Unpacking libsundials-nvecparallel-petsc6:s390x (6.4.1+dfsg1-3build3) ... 320s Selecting previously unselected package libsundials-sunmatrix4:s390x. 320s Preparing to unpack .../403-libsundials-sunmatrix4_6.4.1+dfsg1-3build3_s390x.deb ... 320s Unpacking libsundials-sunmatrix4:s390x (6.4.1+dfsg1-3build3) ... 320s Selecting previously unselected package libsundials-sunlinsol3:s390x. 320s Preparing to unpack .../404-libsundials-sunlinsol3_6.4.1+dfsg1-3build3_s390x.deb ... 320s Unpacking libsundials-sunlinsol3:s390x (6.4.1+dfsg1-3build3) ... 320s Selecting previously unselected package libtext-unidecode-perl. 320s Preparing to unpack .../405-libtext-unidecode-perl_1.30-3_all.deb ... 320s Unpacking libtext-unidecode-perl (1.30-3) ... 320s Selecting previously unselected package texinfo-lib. 320s Preparing to unpack .../406-texinfo-lib_7.1-3build1_s390x.deb ... 320s Unpacking texinfo-lib (7.1-3build1) ... 320s Selecting previously unselected package tex-common. 320s Preparing to unpack .../407-tex-common_6.18_all.deb ... 320s Unpacking tex-common (6.18) ... 320s Selecting previously unselected package texinfo. 320s Preparing to unpack .../408-texinfo_7.1-3build1_all.deb ... 320s Unpacking texinfo (7.1-3build1) ... 320s Selecting previously unselected package octave-common. 320s Preparing to unpack .../409-octave-common_8.4.0-1build4_all.deb ... 320s Unpacking octave-common (8.4.0-1build4) ... 321s Selecting previously unselected package octave. 321s Preparing to unpack .../410-octave_8.4.0-1build4_s390x.deb ... 321s Unpacking octave (8.4.0-1build4) ... 321s Selecting previously unselected package libncurses-dev:s390x. 321s Preparing to unpack .../411-libncurses-dev_6.4+20240113-1ubuntu1_s390x.deb ... 321s Unpacking libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 321s Selecting previously unselected package libreadline-dev:s390x. 321s Preparing to unpack .../412-libreadline-dev_8.2-4_s390x.deb ... 321s Unpacking libreadline-dev:s390x (8.2-4) ... 321s Selecting previously unselected package libhdf5-fortran-102t64:s390x. 321s Preparing to unpack .../413-libhdf5-fortran-102t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-fortran-102t64:s390x (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package libhdf5-hl-100t64:s390x. 321s Preparing to unpack .../414-libhdf5-hl-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-hl-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package libhdf5-hl-fortran-100t64:s390x. 321s Preparing to unpack .../415-libhdf5-hl-fortran-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-hl-fortran-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package libhdf5-cpp-103-1t64:s390x. 321s Preparing to unpack .../416-libhdf5-cpp-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-cpp-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package libhdf5-hl-cpp-100t64:s390x. 321s Preparing to unpack .../417-libhdf5-hl-cpp-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-hl-cpp-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package zlib1g-dev:s390x. 321s Preparing to unpack .../418-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 321s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 321s Selecting previously unselected package libjpeg-turbo8-dev:s390x. 321s Preparing to unpack .../419-libjpeg-turbo8-dev_2.1.5-2ubuntu1_s390x.deb ... 321s Unpacking libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 321s Selecting previously unselected package libjpeg8-dev:s390x. 321s Preparing to unpack .../420-libjpeg8-dev_8c-2ubuntu11_s390x.deb ... 321s Unpacking libjpeg8-dev:s390x (8c-2ubuntu11) ... 321s Selecting previously unselected package libjpeg-dev:s390x. 321s Preparing to unpack .../421-libjpeg-dev_8c-2ubuntu11_s390x.deb ... 321s Unpacking libjpeg-dev:s390x (8c-2ubuntu11) ... 321s Selecting previously unselected package libaec-dev:s390x. 321s Preparing to unpack .../422-libaec-dev_1.1.2-1_s390x.deb ... 321s Unpacking libaec-dev:s390x (1.1.2-1) ... 321s Selecting previously unselected package libcurl4-openssl-dev:s390x. 321s Preparing to unpack .../423-libcurl4-openssl-dev_8.5.0-2ubuntu8_s390x.deb ... 321s Unpacking libcurl4-openssl-dev:s390x (8.5.0-2ubuntu8) ... 321s Selecting previously unselected package libssl-dev:s390x. 321s Preparing to unpack .../424-libssl-dev_3.0.13-0ubuntu2_s390x.deb ... 321s Unpacking libssl-dev:s390x (3.0.13-0ubuntu2) ... 321s Selecting previously unselected package hdf5-helpers. 321s Preparing to unpack .../425-hdf5-helpers_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 321s Selecting previously unselected package libhdf5-dev. 321s Preparing to unpack .../426-libhdf5-dev_1.10.10+repack-3.1ubuntu3_s390x.deb ... 321s Unpacking libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 322s Selecting previously unselected package xorg-sgml-doctools. 322s Preparing to unpack .../427-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 322s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 322s Selecting previously unselected package x11proto-dev. 322s Preparing to unpack .../428-x11proto-dev_2023.2-1_all.deb ... 322s Unpacking x11proto-dev (2023.2-1) ... 322s Selecting previously unselected package libxau-dev:s390x. 322s Preparing to unpack .../429-libxau-dev_1%3a1.0.9-1build5_s390x.deb ... 322s Unpacking libxau-dev:s390x (1:1.0.9-1build5) ... 322s Selecting previously unselected package libxdmcp-dev:s390x. 322s Preparing to unpack .../430-libxdmcp-dev_1%3a1.1.3-0ubuntu5_s390x.deb ... 322s Unpacking libxdmcp-dev:s390x (1:1.1.3-0ubuntu5) ... 322s Selecting previously unselected package xtrans-dev. 322s Preparing to unpack .../431-xtrans-dev_1.4.0-1_all.deb ... 322s Unpacking xtrans-dev (1.4.0-1) ... 322s Selecting previously unselected package libpthread-stubs0-dev:s390x. 322s Preparing to unpack .../432-libpthread-stubs0-dev_0.4-1build2_s390x.deb ... 322s Unpacking libpthread-stubs0-dev:s390x (0.4-1build2) ... 322s Selecting previously unselected package libxcb1-dev:s390x. 322s Preparing to unpack .../433-libxcb1-dev_1.15-1_s390x.deb ... 322s Unpacking libxcb1-dev:s390x (1.15-1) ... 322s Selecting previously unselected package libx11-dev:s390x. 322s Preparing to unpack .../434-libx11-dev_2%3a1.8.7-1_s390x.deb ... 322s Unpacking libx11-dev:s390x (2:1.8.7-1) ... 322s Selecting previously unselected package libglx-dev:s390x. 322s Preparing to unpack .../435-libglx-dev_1.7.0-1_s390x.deb ... 322s Unpacking libglx-dev:s390x (1.7.0-1) ... 322s Selecting previously unselected package libgl-dev:s390x. 322s Preparing to unpack .../436-libgl-dev_1.7.0-1_s390x.deb ... 322s Unpacking libgl-dev:s390x (1.7.0-1) ... 322s Selecting previously unselected package libblas-dev:s390x. 322s Preparing to unpack .../437-libblas-dev_3.12.0-3_s390x.deb ... 322s Unpacking libblas-dev:s390x (3.12.0-3) ... 322s Selecting previously unselected package liblapack-dev:s390x. 322s Preparing to unpack .../438-liblapack-dev_3.12.0-3_s390x.deb ... 322s Unpacking liblapack-dev:s390x (3.12.0-3) ... 322s Selecting previously unselected package libfftw3-bin. 322s Preparing to unpack .../439-libfftw3-bin_3.3.10-1ubuntu2_s390x.deb ... 322s Unpacking libfftw3-bin (3.3.10-1ubuntu2) ... 322s Selecting previously unselected package libfftw3-dev:s390x. 322s Preparing to unpack .../440-libfftw3-dev_3.3.10-1ubuntu2_s390x.deb ... 322s Unpacking libfftw3-dev:s390x (3.3.10-1ubuntu2) ... 322s Selecting previously unselected package libgfortran-13-dev:s390x. 322s Preparing to unpack .../441-libgfortran-13-dev_13.2.0-21ubuntu1_s390x.deb ... 322s Unpacking libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 322s Selecting previously unselected package gfortran-13-s390x-linux-gnu. 322s Preparing to unpack .../442-gfortran-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 322s Unpacking gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 322s Selecting previously unselected package gfortran-13. 322s Preparing to unpack .../443-gfortran-13_13.2.0-21ubuntu1_s390x.deb ... 322s Unpacking gfortran-13 (13.2.0-21ubuntu1) ... 322s Selecting previously unselected package gfortran-s390x-linux-gnu. 322s Preparing to unpack .../444-gfortran-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 322s Unpacking gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 322s Selecting previously unselected package gfortran. 322s Preparing to unpack .../445-gfortran_4%3a13.2.0-7ubuntu1_s390x.deb ... 322s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 322s Selecting previously unselected package libstdc++-13-dev:s390x. 322s Preparing to unpack .../446-libstdc++-13-dev_13.2.0-21ubuntu1_s390x.deb ... 322s Unpacking libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 323s Selecting previously unselected package g++-13-s390x-linux-gnu. 323s Preparing to unpack .../447-g++-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 323s Unpacking g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 323s Selecting previously unselected package g++-13. 323s Preparing to unpack .../448-g++-13_13.2.0-21ubuntu1_s390x.deb ... 323s Unpacking g++-13 (13.2.0-21ubuntu1) ... 323s Selecting previously unselected package g++-s390x-linux-gnu. 323s Preparing to unpack .../449-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 323s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 323s Selecting previously unselected package g++. 323s Preparing to unpack .../450-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 323s Unpacking g++ (4:13.2.0-7ubuntu1) ... 323s Selecting previously unselected package octave-dev. 323s Preparing to unpack .../451-octave-dev_8.4.0-1build4_s390x.deb ... 323s Unpacking octave-dev (8.4.0-1build4) ... 323s Selecting previously unselected package dh-octave. 323s Preparing to unpack .../452-dh-octave_1.8.0_all.deb ... 323s Unpacking dh-octave (1.8.0) ... 323s Selecting previously unselected package libfontenc1:s390x. 323s Preparing to unpack .../453-libfontenc1_1%3a1.1.8-1_s390x.deb ... 323s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 323s Selecting previously unselected package libxt6t64:s390x. 323s Preparing to unpack .../454-libxt6t64_1%3a1.2.1-1.2_s390x.deb ... 323s Unpacking libxt6t64:s390x (1:1.2.1-1.2) ... 323s Selecting previously unselected package libxmu6:s390x. 323s Preparing to unpack .../455-libxmu6_2%3a1.1.3-3build1_s390x.deb ... 323s Unpacking libxmu6:s390x (2:1.1.3-3build1) ... 323s Selecting previously unselected package libxaw7:s390x. 323s Preparing to unpack .../456-libxaw7_2%3a1.0.14-1build1_s390x.deb ... 323s Unpacking libxaw7:s390x (2:1.0.14-1build1) ... 323s Selecting previously unselected package libxfont2:s390x. 323s Preparing to unpack .../457-libxfont2_1%3a2.0.6-1_s390x.deb ... 323s Unpacking libxfont2:s390x (1:2.0.6-1) ... 323s Selecting previously unselected package libxkbfile1:s390x. 323s Preparing to unpack .../458-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 323s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 323s Selecting previously unselected package libxrandr2:s390x. 323s Preparing to unpack .../459-libxrandr2_2%3a1.5.2-2_s390x.deb ... 323s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 323s Selecting previously unselected package octave-image:s390x. 323s Preparing to unpack .../460-octave-image_2.14.0-5_s390x.deb ... 323s Unpacking octave-image:s390x (2.14.0-5) ... 323s Selecting previously unselected package x11-xkb-utils. 323s Preparing to unpack .../461-x11-xkb-utils_7.7+8build1_s390x.deb ... 323s Unpacking x11-xkb-utils (7.7+8build1) ... 323s Selecting previously unselected package xserver-common. 323s Preparing to unpack .../462-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 323s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 323s Selecting previously unselected package xvfb. 323s Preparing to unpack .../463-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 323s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 323s Selecting previously unselected package autopkgtest-satdep. 323s Preparing to unpack .../464-1-autopkgtest-satdep.deb ... 323s Unpacking autopkgtest-satdep (0) ... 323s Setting up libapt-pkg-perl (0.1.40build5) ... 323s Setting up libhwy1t64:s390x (1.0.7-8.1) ... 323s Setting up libmodule-pluggable-perl (5.2-4) ... 323s Setting up libgraphite2-3:s390x (1.3.14-2) ... 323s Setting up libstring-escape-perl (2010.002-3) ... 323s Setting up libxcb-dri3-0:s390x (1.15-1) ... 323s Setting up liblcms2-2:s390x (2.14-2) ... 323s Setting up libberkeleydb-perl:s390x (0.64-2build2) ... 323s Setting up libpixman-1-0:s390x (0.42.2-1) ... 323s Setting up libwayland-server0:s390x (1.22.0-2.1) ... 323s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 323s Setting up libpciaccess0:s390x (0.17-3) ... 323s Setting up libfile-which-perl (1.27-2) ... 323s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 326s Regenerating fonts cache... done. 326s Setting up libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 326s Setting up libdouble-conversion3:s390x (3.3.0-1) ... 326s Setting up libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 326s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 326s Setting up libunicode-utf8-perl (0.62-2build2) ... 326s Setting up libset-intspan-perl (1.19-3) ... 326s Setting up libmpg123-0:s390x (1.32.5-1build1) ... 326s Setting up libxcb-xfixes0:s390x (1.15-1) ... 326s Setting up libogg0:s390x (1.3.5-3) ... 326s Setting up libmouse-perl (2.5.10-1build7) ... 326s Setting up libpod-pom-perl (2.01-4) ... 326s Setting up hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 326s Setting up libwmflite-0.2-7:s390x (0.2.13-1.1build2) ... 326s Setting up libregexp-pattern-perl (0.2.14-2) ... 326s Setting up libdata-messagepack-perl (1.02-1build3) ... 326s Setting up libxcb-xinput0:s390x (1.15-1) ... 326s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 326s Setting up libdynaloader-functions-perl (0.003-3) ... 326s Setting up libdatrie1:s390x (0.2.13-3) ... 326s Setting up libtext-glob-perl (0.11-3) ... 326s Setting up libclass-method-modifiers-perl (2.15-1) ... 326s Setting up liblist-compare-perl (0.55-2) ... 326s Setting up libxcb-render0:s390x (1.15-1) ... 326s Setting up libclone-perl:s390x (0.46-1build2) ... 326s Setting up libarchive-zip-perl (1.68-1) ... 326s Setting up libsub-identify-perl (0.14-3build2) ... 326s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 326s Setting up libcpanel-json-xs-perl:s390x (4.37-1build2) ... 326s Setting up libglvnd0:s390x (1.7.0-1) ... 326s Setting up libio-stringy-perl (2.111-3) ... 326s Setting up libscotch-7.0:s390x (7.0.4-1ubuntu1) ... 326s Setting up libhtml-tagset-perl (3.20-6) ... 326s Setting up liblog-any-perl (1.717-1) ... 326s Setting up libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 326s Setting up libyaml-pp-perl (0.38.0-1) ... 326s Setting up libxcb-glx0:s390x (1.15-1) ... 326s Setting up libdevel-size-perl (0.83-2build3) ... 326s Setting up unzip (6.0-28ubuntu3) ... 326s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 326s Setting up libregexp-pattern-license-perl (3.11.0-1) ... 326s Setting up libconvert-binhex-perl (1.125-3) ... 326s Setting up liblwp-mediatypes-perl (6.04-2) ... 326s Setting up libyaml-libyaml-perl (0.89+ds-1build1) ... 326s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 326s Setting up libio-interactive-perl (1.025-1) ... 326s Setting up libxcb-keysyms1:s390x (0.4.0-1build3) ... 326s Setting up libxcb-shape0:s390x (1.15-1) ... 326s Setting up x11-common (1:7.7+23ubuntu2) ... 326s Setting up libtry-tiny-perl (0.31-2) ... 326s Setting up libcxsparse4:s390x (1:7.6.1+dfsg-1) ... 326s Setting up perl-openssl-defaults:s390x (7build1) ... 326s Setting up libmldbm-perl (2.05-4) ... 326s Setting up libxml-namespacesupport-perl (1.12-2) ... 326s Setting up m4 (1.4.19-4) ... 326s Setting up libclone-choose-perl (0.010-2) ... 326s Setting up libqhull-r8.0:s390x (2020.2-6) ... 326s Setting up libxcb-render-util0:s390x (0.3.9-1build3) ... 326s Setting up libtime-moment-perl (0.44-2build3) ... 326s Setting up libencode-locale-perl (1.05-3) ... 326s Setting up libtrilinos-kokkos-13.2:s390x (13.2.0-5build1) ... 326s Setting up libmetis5:s390x (5.1.0.dfsg-7build2) ... 326s Setting up libxcb-shm0:s390x (1.15-1) ... 326s Setting up libxcb-icccm4:s390x (0.4.1-1.1build2) ... 326s Setting up texinfo-lib (7.1-3build1) ... 326s Setting up libreadline-dev:s390x (8.2-4) ... 326s Setting up libgomp1:s390x (14-20240315-1ubuntu1) ... 326s Setting up libconfig-tiny-perl (2.30-1) ... 326s Setting up libsereal-encoder-perl (5.004+ds-1build2) ... 326s Setting up liblist-utilsby-perl (0.12-2) ... 326s Setting up libyaml-tiny-perl (1.74-1) ... 326s Setting up libpthread-stubs0-dev:s390x (0.4-1build2) ... 326s Setting up octave-common (8.4.0-1build4) ... 326s Setting up libcairo2:s390x (1.18.0-1ubuntu1) ... 326s Setting up libregexp-common-perl (2017060201-3) ... 326s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 326s Setting up libaec0:s390x (1.1.2-1) ... 326s Setting up libnet-netmask-perl (2.0002-2) ... 326s Setting up libopengl0:s390x (1.7.0-1) ... 326s Setting up libsub-install-perl (0.929-1) ... 326s Setting up libxcb-util1:s390x (0.4.0-1build2) ... 326s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 326s Setting up libindirect-perl (0.39-2build3) ... 326s Setting up libxcb-xkb1:s390x (1.15-1) ... 326s Setting up libxcb-image0:s390x (0.4.0-2) ... 326s Setting up libxs-parse-sublike-perl:s390x (0.21-2build2) ... 326s Setting up libnumber-compare-perl (0.03-3) ... 326s Setting up libxnvctrl0:s390x (510.47.03-0ubuntu3) ... 326s Setting up libxcb-present0:s390x (1.15-1) ... 326s Setting up liberror-perl (0.17029-2) ... 326s Setting up libtrilinos-trilinosss-13.2:s390x (13.2.0-5build1) ... 326s Setting up libasound2-data (1.2.11-1build1) ... 326s Setting up patchutils (0.4.2-1build2) ... 326s Setting up tex-common (6.18) ... 326s update-language: texlive-base not installed and configured, doing nothing! 326s Setting up libbtf2:s390x (1:7.6.1+dfsg-1) ... 326s Setting up libjson-maybexs-perl (1.004005-1) ... 326s Setting up libxml-sax-base-perl (1.09-3) ... 326s Setting up libio-string-perl (1.08-4) ... 326s Setting up libboolean-perl (0.46-3) ... 326s Setting up libnetaddr-ip-perl (4.079+dfsg-2build3) ... 326s Setting up xtrans-dev (1.4.0-1) ... 326s Setting up libqt5core5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 326s Setting up libfontenc1:s390x (1:1.1.8-1) ... 326s Setting up autotools-dev (20220109.1) ... 326s Setting up libblas3:s390x (3.12.0-3) ... 326s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 326s Setting up libclass-data-inheritable-perl (0.08-3) ... 326s Setting up libxs-parse-keyword-perl (0.39-1build2) ... 326s Setting up libxcb-xinerama0:s390x (1.15-1) ... 326s Setting up libalgorithm-c3-perl (0.11-2) ... 326s Setting up libasound2t64:s390x (1.2.11-1build1) ... 326s Setting up libmunge2:s390x (0.5.15-4) ... 326s Setting up liblog-log4perl-perl (1.57-1) ... 326s Setting up libllvm17t64:s390x (1:17.0.6-9build2) ... 326s Setting up libtext-reform-perl (1.20-5) ... 326s Setting up libfile-find-rule-perl (0.34-3) ... 326s Setting up libxfixes3:s390x (1:6.0.0-2) ... 326s Setting up libcurl4-openssl-dev:s390x (8.5.0-2ubuntu8) ... 326s Setting up libxcb-sync1:s390x (1.15-1) ... 326s Setting up libipc-system-simple-perl (1.30-2) ... 326s Setting up libio-tiecombine-perl (1.005-3) ... 326s Setting up libnet-domain-tld-perl (1.75-3) ... 326s Setting up libperlio-utf8-strict-perl (0.010-1build2) ... 326s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 326s Setting up lzip (1.24.1-1) ... 326s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 326s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 326s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 326s Setting up libavahi-common-data:s390x (0.8-13ubuntu4) ... 326s Setting up libopus0:s390x (1.4-1) ... 326s Setting up t1utils (1.41-4build2) ... 326s Setting up libxinerama1:s390x (2:1.1.4-3) ... 326s Setting up diffstat (1.66-1) ... 326s Setting up libxkbcommon-x11-0:s390x (1.6.0-1) ... 326s Setting up libssl-dev:s390x (3.0.13-0ubuntu2) ... 326s Setting up libhwloc15:s390x (2.10.0-1) ... 326s Setting up libmpc3:s390x (1.3.1-1) ... 326s Setting up libatomic1:s390x (14-20240315-1ubuntu1) ... 326s Setting up libvorbis0a:s390x (1.3.7-1build2) ... 326s Setting up libvariable-magic-perl (0.63-1build2) ... 326s Setting up libio-html-perl (1.004-3) ... 326s Setting up libxrandr2:s390x (2:1.5.2-2) ... 326s Setting up libtext-template-perl (1.61-1) ... 326s Setting up libpod-parser-perl (1.67-1) ... 326s Setting up autopoint (0.21-14ubuntu1) ... 326s Setting up libb-hooks-op-check-perl:s390x (0.22-3) ... 326s Setting up liblist-moreutils-xs-perl (0.430-3build4) ... 326s Setting up libjxl0.7:s390x (0.7.0-10.2ubuntu4) ... 326s Setting up libltdl7:s390x (2.4.7-7) ... 326s Setting up libfftw3-double3:s390x (3.3.10-1ubuntu2) ... 326s Setting up libglapi-mesa:s390x (24.0.3-1ubuntu3) ... 326s Setting up libparams-util-perl (1.102-2build2) ... 326s Setting up libgfortran5:s390x (14-20240315-1ubuntu1) ... 326s Setting up libvulkan1:s390x (1.3.275.0-1) ... 326s Setting up libtime-duration-perl (1.21-2) ... 326s Setting up autoconf (2.71-3) ... 326s Setting up libtext-xslate-perl:s390x (3.5.9-1build4) ... 326s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 326s Setting up libarray-intspan-perl (2.004-2) ... 326s Setting up libcapture-tiny-perl (0.48-2) ... 326s Setting up libtimedate-perl (2.3300-2) ... 326s Setting up libexporter-lite-perl (0.09-2) ... 326s Setting up libubsan1:s390x (14-20240315-1ubuntu1) ... 326s Setting up libxcb-dri2-0:s390x (1.15-1) ... 326s Setting up libsub-name-perl:s390x (0.27-1build2) ... 326s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 326s Setting up libsyntax-keyword-try-perl (0.29-1build2) ... 326s Setting up dwz (0.15-1build5) ... 326s Setting up libdata-validate-domain-perl (0.10-1.1) ... 326s Setting up libproc-processtable-perl:s390x (0.636-1build2) ... 326s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 326s Setting up libdav1d7:s390x (1.4.1-1) ... 326s Setting up libmtdev1t64:s390x (1.1.6-1.1) ... 326s Setting up ocl-icd-libopencl1:s390x (2.3.2-1) ... 326s Setting up libxshmfence1:s390x (1.3-1build4) ... 326s Setting up libxcb-randr0:s390x (1.15-1) ... 326s Setting up libpath-tiny-perl (0.144-1) ... 326s Setting up libasan8:s390x (14-20240315-1ubuntu1) ... 326s Setting up lzop (1.04-2build2) ... 326s Setting up libjson-perl (4.10000-1) ... 326s Setting up liblog-any-adapter-screen-perl (0.140-2) ... 326s Setting up librole-tiny-perl (2.002004-1) ... 326s Setting up openmpi-common (4.1.6-7ubuntu1) ... 326s Setting up libqt5sql5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 326s Setting up debugedit (1:5.0-5build1) ... 326s Setting up libipc-run3-perl (0.049-1) ... 326s Setting up libmd4c0:s390x (0.4.8-1) ... 326s Setting up libregexp-wildcards-perl (1.05-3) ... 326s Setting up libmousex-strictconstructor-perl (0.02-3) ... 326s Setting up libsub-uplevel-perl (0.2800-3) ... 326s Setting up libsuitesparseconfig7:s390x (1:7.6.1+dfsg-1) ... 326s Setting up librdmacm1t64:s390x (50.0-2build1) ... 326s Setting up liblua5.4-0:s390x (5.4.6-3build1) ... 326s Setting up libsub-override-perl (0.10-1) ... 326s Setting up libaliased-perl (0.34-3) ... 326s Setting up libharfbuzz0b:s390x (8.3.0-2build1) ... 326s Setting up libthai-data (0.1.29-2) ... 326s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 326s Setting up libstrictures-perl (2.000006-1) ... 326s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 326s Setting up libdevel-stacktrace-perl (2.0500-1) ... 326s Setting up libclass-xsaccessor-perl (1.19-4build3) ... 326s Setting up libtext-autoformat-perl (1.750000-2) ... 326s Setting up libglu1-mesa:s390x (9.0.2-1.1) ... 326s Setting up libflac12t64:s390x (1.4.3+ds-2.1ubuntu1) ... 326s Setting up libtoml-tiny-perl (0.16-1) ... 326s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 326s Setting up libsort-versions-perl (1.62-3) ... 326s Setting up libexporter-tiny-perl (1.006002-1) ... 326s Setting up libterm-readkey-perl (2.38-2build3) ... 326s Setting up libjpeg8-dev:s390x (8c-2ubuntu11) ... 326s Setting up libisl23:s390x (0.26-3) ... 326s Setting up libtext-unidecode-perl (1.30-3) ... 326s Setting up libde265-0:s390x (1.0.15-1build1) ... 326s Setting up libfont-ttf-perl (1.06-2) ... 326s Setting up libfile-homedir-perl (1.006-2) ... 326s Setting up libsamplerate0:s390x (0.2.2-4) ... 326s Setting up libwebpmux3:s390x (1.3.2-0.4build2) ... 326s Setting up libtext-levenshteinxs-perl (0.03-5build3) ... 326s Setting up libperlio-gzip-perl (0.20-1build3) ... 326s Setting up libxfont2:s390x (1:2.0.6-1) ... 326s Setting up libhtml-html5-entities-perl (0.004-3) ... 326s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 326s Setting up libsereal-decoder-perl (5.004+ds-1build2) ... 326s Setting up libmarkdown2:s390x (2.2.7-2) ... 326s Setting up libcc1-0:s390x (14-20240315-1ubuntu1) ... 326s Setting up liburi-perl (5.27-1) ... 326s Setting up libnet-ipv6addr-perl (1.02-1) ... 326s Setting up libmp3lame0:s390x (3.100-6) ... 326s Setting up libblas-dev:s390x (3.12.0-3) ... 326s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so to provide /usr/lib/s390x-linux-gnu/libblas.so (libblas.so-s390x-linux-gnu) in auto mode 326s Setting up libsz2:s390x (1.1.2-1) ... 326s Setting up libitm1:s390x (14-20240315-1ubuntu1) ... 326s Setting up libvorbisenc2:s390x (1.3.7-1build2) ... 326s Setting up libevent-pthreads-2.1-7:s390x (2.1.12-stable-9build1) ... 326s Setting up libdata-validate-ip-perl (0.31-1) ... 326s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 326s Setting up libwacom-common (2.10.0-1build1) ... 326s Setting up libmousex-nativetraits-perl (1.09-3) ... 326s Setting up libemail-address-xs-perl (1.05-1build3) ... 326s Setting up libwayland-client0:s390x (1.22.0-2.1) ... 326s Setting up libnet-ssleay-perl:s390x (1.94-1build2) ... 326s Setting up automake (1:1.16.5-1.3ubuntu1) ... 326s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 326s Setting up x11proto-dev (2023.2-1) ... 326s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 326s Setting up libfabric1:s390x (1.17.0-3build1) ... 326s Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 326s Setting up libice6:s390x (2:1.0.10-1build2) ... 326s Setting up libhttp-date-perl (6.06-1) ... 326s Setting up liblapack3:s390x (3.12.0-3) ... 326s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 326s Setting up libxft2:s390x (2.3.6-1) ... 326s Setting up libqt5dbus5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 326s Setting up libfile-basedir-perl (0.09-2) ... 326s Setting up gettext (0.21-14ubuntu1) ... 326s Setting up libarpack2t64:s390x (3.9.1-1.1build1) ... 326s Setting up libfftw3-single3:s390x (3.3.10-1ubuntu2) ... 326s Setting up libamd3:s390x (1:7.6.1+dfsg-1) ... 326s Setting up libfile-listing-perl (6.16-1) ... 326s Setting up libxau-dev:s390x (1:1.0.9-1build5) ... 326s Setting up libgbm1:s390x (24.0.3-1ubuntu3) ... 326s Setting up libcolamd3:s390x (1:7.6.1+dfsg-1) ... 326s Setting up libwacom9:s390x (2.10.0-1build1) ... 326s Setting up liblist-moreutils-perl (0.430-2) ... 326s Setting up libxcursor1:s390x (1:1.2.1-1) ... 326s Setting up libpod-constants-perl (0.19-2) ... 326s Setting up libgl1-mesa-dri:s390x (24.0.3-1ubuntu3) ... 326s Setting up libqt5network5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 326s Setting up libhash-merge-perl (0.302-1) ... 326s Setting up libsoftware-copyright-perl (0.012-2) ... 326s Setting up libaec-dev:s390x (1.1.2-1) ... 326s Setting up libavahi-common3:s390x (0.8-13ubuntu4) ... 326s Setting up libjpeg-dev:s390x (8c-2ubuntu11) ... 326s Setting up libfftw3-long3:s390x (3.3.10-1ubuntu2) ... 326s Setting up libnet-http-perl (6.23-1) ... 326s Setting up libpath-iterator-rule-perl (1.015-2) ... 326s Setting up libtext-markdown-discount-perl (0.16-1build2) ... 326s Setting up libqt5xml5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 326s Setting up libexception-class-perl (1.45-1) ... 326s Setting up libsundials-sunmatrix4:s390x (6.4.1+dfsg1-3build3) ... 326s Setting up libclass-c3-perl (0.35-2) ... 326s Setting up libsuperlu6:s390x (6.0.1+dfsg1-1) ... 326s Setting up libhwloc-plugins:s390x (2.10.0-1) ... 326s Setting up libqrupdate1:s390x (1.1.2-4) ... 326s Setting up libdevel-callchecker-perl:s390x (0.008-2build2) ... 326s Setting up libxml-sax-perl (1.02+dfsg-3) ... 326s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 326s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 326s 326s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 326s Setting up libsundials-ida6:s390x (6.4.1+dfsg1-3build3) ... 326s Setting up libcamd3:s390x (1:7.6.1+dfsg-1) ... 326s Setting up libinput-bin (1.25.0-1ubuntu1) ... 326s Setting up intltool-debian (0.35.0+20060710.6) ... 326s Setting up libobject-pad-perl (0.808-1build2) ... 326s Setting up libthai0:s390x (0.1.29-2) ... 326s Setting up libxdmcp-dev:s390x (1:1.1.3-0ubuntu5) ... 326s Setting up libegl-mesa0:s390x (24.0.3-1ubuntu3) ... 326s Setting up libdata-validate-uri-perl (0.07-3) ... 326s Setting up cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 326s Setting up libtest-exception-perl (0.43-3) ... 326s Setting up libglpk40:s390x (5.0-1build1) ... 326s Setting up libstring-copyright-perl (0.003014-1) ... 326s Setting up liblapack-dev:s390x (3.12.0-3) ... 326s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so to provide /usr/lib/s390x-linux-gnu/liblapack.so (liblapack.so-s390x-linux-gnu) in auto mode 326s Setting up libdata-optlist-perl (0.114-1) ... 326s Setting up libpmix2t64:s390x (5.0.1-4.1) ... 326s Setting up libopenmpi3t64:s390x (4.1.6-7ubuntu1) ... 326s Setting up libccolamd3:s390x (1:7.6.1+dfsg-1) ... 326s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 326s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 327s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 327s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 327s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 327s Setting up dh-strip-nondeterminism (1.13.1-1) ... 327s Setting up libwww-robotrules-perl (6.02-1) ... 327s Setting up libjack-jackd2-0:s390x (1.9.21~dfsg-3ubuntu1) ... 327s Setting up libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 327s Setting up libhtml-parser-perl:s390x (3.81-1build2) ... 327s Setting up libegl1:s390x (1.7.0-1) ... 327s Setting up libsndfile1:s390x (1.2.2-1ubuntu3) ... 327s Setting up libmro-compat-perl (0.15-2) ... 327s Setting up libhdf5-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 327s Setting up libsm6:s390x (2:1.2.3-1build2) ... 327s Setting up libfltk1.3t64:s390x (1.3.8-6.1build1) ... 327s Setting up libavahi-client3:s390x (0.8-13ubuntu4) ... 327s Setting up libio-socket-ssl-perl (2.085-1) ... 327s Setting up openmpi-bin (4.1.6-7ubuntu1) ... 327s update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode 327s update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode 327s Setting up libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 327s Setting up libsub-exporter-perl (0.990-1) ... 327s Setting up libhttp-message-perl (6.45-1ubuntu1) ... 327s Setting up libhtml-form-perl (6.11-1) ... 327s Setting up libiterator-perl (0.03+ds1-2) ... 327s Setting up libinput10:s390x (1.25.0-1ubuntu1) ... 327s Setting up libhdf5-hl-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libportaudio2:s390x (19.6.0-1.2build1) ... 327s Setting up libhttp-negotiate-perl (6.01-2) ... 327s Setting up libcarp-assert-more-perl (2.3.0-1) ... 327s Setting up libcholmod5:s390x (1:7.6.1+dfsg-1) ... 327s Setting up libptscotch-7.0:s390x (7.0.4-1ubuntu1) ... 327s Setting up libglx-mesa0:s390x (24.0.3-1ubuntu3) ... 327s Setting up libxcb1-dev:s390x (1.15-1) ... 327s Setting up libiterator-util-perl (0.02+ds1-2) ... 327s Setting up libglx0:s390x (1.7.0-1) ... 327s Setting up cpp-13 (13.2.0-21ubuntu1) ... 327s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 327s Setting up libhttp-cookies-perl (6.11-1) ... 327s Setting up libspqr4:s390x (1:7.6.1+dfsg-1) ... 327s Setting up libfftw3-bin (3.3.10-1ubuntu2) ... 327s Setting up po-debconf (1.0.21+nmu1) ... 327s Setting up libhtml-tree-perl (5.07-3) ... 327s Setting up libparams-classify-perl:s390x (0.015-2build4) ... 327s Setting up libpango-1.0-0:s390x (1.52.1+ds-1) ... 327s Setting up libhdf5-cpp-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libcgi-pm-perl (4.63-1) ... 327s Setting up mpi-default-bin (1.15) ... 327s Setting up libx11-dev:s390x (2:1.8.7-1) ... 327s Setting up libhdf5-fortran-102t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libcombblas2.0.0t64:s390x (2.0.0-3.1build1) ... 327s Setting up libfftw3-mpi3:s390x (3.3.10-1ubuntu2) ... 327s Setting up libtrilinos-zoltan-13.2:s390x (13.2.0-5build1) ... 327s Setting up libhdf5-openmpi-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libtrilinos-teuchos-13.2:s390x (13.2.0-5build1) ... 327s Setting up libgl1:s390x (1.7.0-1) ... 327s Setting up gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 327s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 327s Setting up libnet-smtp-ssl-perl (1.04-2) ... 327s Setting up libmodule-runtime-perl (0.016-2) ... 327s Setting up libmailtools-perl (2.21-2) ... 327s Setting up libklu2:s390x (1:7.6.1+dfsg-1) ... 327s Setting up g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 327s Setting up libtrilinos-epetra-13.2:s390x (13.2.0-5build1) ... 327s Setting up libconfig-model-perl (2.153-3) ... 327s Setting up libxt6t64:s390x (1:1.2.1-1.2) ... 327s Setting up gcc-13 (13.2.0-21ubuntu1) ... 327s Setting up texinfo (7.1-3build1) ... 327s Setting up libumfpack6:s390x (1:7.6.1+dfsg-1) ... 327s Setting up libconst-fast-perl (0.014-2) ... 327s Setting up libtrilinos-aztecoo-13.2:s390x (13.2.0-5build1) ... 327s Setting up cpp (4:13.2.0-7ubuntu1) ... 327s Setting up gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 327s Setting up libdata-section-perl (0.200008-1) ... 327s Setting up libglx-dev:s390x (1.7.0-1) ... 327s Setting up libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 327s Setting up libdata-dpath-perl (0.59-1) ... 327s Setting up libhdf5-hl-cpp-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up libfftw3-dev:s390x (3.3.10-1ubuntu2) ... 327s Setting up libcups2t64:s390x (2.4.7-1.2ubuntu2) ... 327s Setting up libgl-dev:s390x (1.7.0-1) ... 327s Setting up libtrilinos-triutils-13.2:s390x (13.2.0-5build1) ... 327s Setting up libstring-rewriteprefix-perl (0.009-1) ... 327s Setting up libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 327s Setting up libscalapack-openmpi2.2:s390x (2.2.1-3build1) ... 327s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 327s Setting up g++-13 (13.2.0-21ubuntu1) ... 327s Setting up libxmu6:s390x (2:1.1.3-3build1) ... 327s Setting up gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 327s Setting up libtool (2.4.7-7) ... 327s Setting up libmodule-implementation-perl (0.09-2) ... 327s Setting up libsuperlu-dist8:s390x (8.2.1+dfsg1-1build1) ... 327s Setting up libpackage-stash-perl (0.40-1) ... 327s Setting up libimport-into-perl (1.002005-2) ... 327s Setting up libmoo-perl (2.005005-1) ... 327s Setting up libhdf5-hl-fortran-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 327s Setting up liblist-someutils-perl (0.59-1) ... 327s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 327s Setting up libxaw7:s390x (2:1.0.14-1build1) ... 327s Setting up libmime-tools-perl (5.514-1) ... 327s Setting up libsoftware-license-perl (0.104006-1) ... 327s Setting up libclass-load-perl (0.25-2) ... 327s Setting up gcc (4:13.2.0-7ubuntu1) ... 327s Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... 327s Setting up dh-autoreconf (20) ... 327s Setting up libfltk-gl1.3t64:s390x (1.3.8-6.1build1) ... 327s Setting up libqt5gui5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 327s Setting up gfortran-13 (13.2.0-21ubuntu1) ... 327s Setting up libmumps-5.6t64:s390x (5.6.2-2.1build1) ... 327s Setting up libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 327s update-alternatives: using /usr/lib/s390x-linux-gnu/pkgconfig/hdf5-serial.pc to provide /usr/lib/s390x-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 327s Setting up libhypre-2.28.0:s390x (2.28.0-8build1) ... 327s Setting up libtrilinos-epetraext-13.2:s390x (13.2.0-5build1) ... 327s Setting up libtrilinos-galeri-13.2:s390x (13.2.0-5build1) ... 327s Setting up g++ (4:13.2.0-7ubuntu1) ... 327s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 327s Setting up libtrilinos-amesos-13.2:s390x (13.2.0-5build1) ... 327s Setting up gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 327s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 327s Setting up libmoox-aliases-perl (0.001006-2) ... 327s Setting up libparams-validate-perl:s390x (1.31-2build2) ... 327s Setting up libb-hooks-endofscope-perl (0.28-1) ... 327s Setting up libqt5widgets5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 327s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 327s Setting up x11-xkb-utils (7.7+8build1) ... 327s Setting up debhelper (13.14.1ubuntu5) ... 327s Setting up libqt5help5:s390x (5.15.12-2build2) ... 327s Setting up gfortran (4:13.2.0-7ubuntu1) ... 327s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 327s 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 327s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 327s 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 327s Setting up dh-octave-autopkgtest (1.8.0) ... 327s Setting up libtrilinos-ifpack-13.2:s390x (13.2.0-5build1) ... 327s Setting up libnamespace-clean-perl (0.27-2) ... 327s Setting up libstring-license-perl (0.0.9-2ubuntu1) ... 327s Setting up libgetopt-long-descriptive-perl (0.111-1) ... 327s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 327s Setting up licensecheck (3.3.9-1ubuntu1) ... 327s Setting up libqt5printsupport5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 327s Setting up libtrilinos-ml-13.2:s390x (13.2.0-5build1) ... 327s Setting up libapp-cmd-perl (0.336-1) ... 327s Setting up xvfb (2:21.1.11-2ubuntu1) ... 327s Setting up libqscintilla2-qt5-15:s390x (2.14.1+dfsg-1build2) ... 327s Setting up cme (1.040-1) ... 327s Setting up libpetsc-real3.19t64:s390x (3.19.6+dfsg1-2.2ubuntu1) ... 327s update-alternatives: using /usr/lib/s390x-linux-gnu/libpetsc_real.so.3.19.6 to provide /usr/lib/s390x-linux-gnu/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode 327s Setting up libsundials-nvecparallel-petsc6:s390x (6.4.1+dfsg1-3build3) ... 327s Setting up libsundials-sunlinsol3:s390x (6.4.1+dfsg1-3build3) ... 327s Setting up libheif-plugin-dav1d:s390x (1.17.6-1ubuntu2) ... 327s Setting up liblwp-protocol-https-perl (6.13-1) ... 327s Setting up libheif-plugin-libde265:s390x (1.17.6-1ubuntu2) ... 327s Setting up libwww-perl (6.76-1) ... 327s Setting up libheif1:s390x (1.17.6-1ubuntu2) ... 327s Setting up libparse-debcontrol-perl (2.005-6) ... 327s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 327s Setting up libwww-mechanize-perl (2.18-1ubuntu1) ... 327s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 327s Setting up lintian (2.117.0ubuntu1) ... 327s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 327s Setting up libconfig-model-dpkg-perl (3.004) ... 327s Setting up octave (8.4.0-1build4) ... 327s Setting up octave-dev (8.4.0-1build4) ... 327s Setting up octave-image:s390x (2.14.0-5) ... 327s Setting up dh-octave (1.8.0) ... 327s Setting up autopkgtest-satdep (0) ... 327s Processing triggers for libc-bin (2.39-0ubuntu6) ... 327s Processing triggers for man-db (2.12.0-3build4) ... 329s Processing triggers for udev (255.4-1ubuntu5) ... 329s Processing triggers for install-info (7.1-3build1) ... 341s (Reading database ... 97374 files and directories currently installed.) 341s Removing autopkgtest-satdep (0) ... 342s autopkgtest [20:37:22]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 342s autopkgtest [20:37:22]: test command1: [----------------------- 342s Checking package... 342s Run the unit tests... 342s Checking m files ... 342s [inst/affine3d.m] 342s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/affine3d.m 342s ***** test 342s Sx = 1.2; 342s Sy = 1.6; 342s Sz = 2.4; 342s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 342s tform = affine3d (A); 342s [X, Y, Z] = transformPointsForward (tform, 5, 10, 3); 342s assert ([X Y Z], [6 16 7.2], 5*eps) 342s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 342s assert ([U V W], [5 10 3], eps) 342s assert (! isRigid (tform)) 342s assert (! isTranslation (tform)) 342s assert (! isSimilarity (tform)) 342s ***** test 342s A = [3 1 2 0; 4 5 8 0; 6 2 1 0; 0 0 0 1]; 342s tform = affine3d (A); 342s [X, Y, Z] = transformPointsForward (tform, 2, 3, 5); 342s assert (X, 48, eps) 342s assert (Y, 27, eps) 342s assert (Z, 33, eps) 342s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 342s assert (U, 2, 50*eps) 342s assert (V, 3, 50*eps) 342s assert (W, 5, 50*eps) 342s assert (! isRigid (tform)) 342s assert (! isTranslation (tform)) 342s assert (! isSimilarity (tform)) 342s ***** test 342s A = [1 0 0 0; 0 1 0 0; 0 0 1 0; 5 10 1 1]; 342s tform = affine3d (A); 342s X = transformPointsForward (tform, [1 2 3; 4 5 6; 7 8 9]); 342s assert (round (X), [6, 12, 4; 9, 15, 7; 12, 18, 10]) 342s U = transformPointsInverse (tform, X); 342s assert (round (U), [1 2 3; 4 5 6; 7 8 9]) 342s assert (isRigid (tform)) 342s assert (isTranslation (tform)) 342s assert (isSimilarity (tform)) 342s ***** test 342s Sx = 1.2; 342s Sy = 1.6; 342s Sz = 2.4; 342s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 342s tform = affine3d (A); 342s [xlim, ylim, zlim] = outputLimits (tform, [1 128], [1 128], [1 27]); 342s assert (xlim, [ 1.2000 153.6000],1e-8) 342s assert (ylim, [1.6000 204.8000], 1e-8) 342s assert (zlim, [2.4000 64.8000], 1e-8) 342s ***** error affine3d (1, 2) 342s ***** error outputLimits (affine2d()) 342s ***** test 342s a = 23; 342s M = [cosd(a) 0 sind(a) 0; 342s 0 1 0 0; 342s -sind(a) 0 cosd(a) 0; 342s 0 0 0 1]; 342s tform = affine3d (M); 342s tform2 = invert (tform); 342s assert (tform.T * tform2.T, diag([1 1 1 1]), eps); 342s ***** test 342s tform = affine3d; 342s assert (tform.T, eye (4)) 342s assert (tform.Dimensionality, 3) 342s 8 tests, 8 passed, 0 known failure, 0 skipped 342s [inst/houghpeaks.m] 342s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/houghpeaks.m 342s ***** shared im1 342s im1 = magic (5); 342s ***** error houghpeaks () 342s ***** error houghpeaks (1, 2, 3, 4, 5, 6, 7) 343s ***** assert (houghpeaks (im1)) 343s ***** assert (houghpeaks (im1, 2)) 343s ***** assert (houghpeaks (im1, "Threshold", 10)) 343s ***** assert (houghpeaks (im1, 2, "Threshold", 10)) 343s ***** assert (houghpeaks (im1, "NHoodSize", [3 3])) 343s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3])) 343s ***** assert (houghpeaks (im1, "Threshold", 10, "NHoodSize", [3 3])) 343s ***** assert (houghpeaks (im1, "NHoodSize", [3 3], "Threshold", 10)) 343s ***** assert (houghpeaks (im1, 2, "Threshold", 10, "NHoodSize", [3 3])) 343s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3], "Threshold", 10)) 343s ***** error houghpeaks (ones (5, 5, 5)) 343s ***** error houghpeaks ("hello") 343s ***** error houghpeaks (im1, 1.5) 343s ***** error houghpeaks (im1, -2) 343s ***** error houghpeaks (im1, [1 1]) 343s ***** error houghpeaks (im1, "Threshold", "hello") 343s ***** error houghpeaks (im1, "Threshold", -2) 343s ***** error houghpeaks (im1, "Threshold", [1 1]) 343s ***** error houghpeaks (im1, "NHoodSize", [3 3 3]) 343s ***** error houghpeaks (im1, "NHoodSize", "hello") 343s ***** error houghpeaks (im1, "NHoodSize", [-3 -3]) 343s ***** error houghpeaks (im1, "NHoodSize", [4 4]) 343s ***** test 343s out = houghpeaks (im1); 343s assert (size (out), [1 2]) 343s assert (class (out), "double") 343s ***** test 343s out = houghpeaks (im1, 3); 343s assert (size (out), [3 2]) 343s ***** test 343s expected = [5 3; 1 2; 3 5; 1 5]; 343s assert (houghpeaks (im1, 4), expected) # this checks for undocumented nhood >=3 343s assert (houghpeaks (im1, 4, "nhoodsize", [3,3]), expected) 343s assert (houghpeaks (im1, 4, "threshold", 10), expected) 343s assert (houghpeaks (im1, 4, "threshold", 24), expected(1:2,:)) 343s ***** test 343s im2 = magic (7); 343s expected_a = [7 4; 1 3; 3 1; 5 6]; 343s expected_b = [7 4; 1 3; 4 7; 1 7]; 343s assert (houghpeaks (im2, 4), expected_a) 343s assert (houghpeaks (im2, 4, "nhoodsize", [5,5]), expected_b) 343s assert (houghpeaks (im2, 4, "threshold", 24), expected_a) 343s assert (houghpeaks (im2, 4, "threshold", 47), expected_a(1:2,:)) 343s ***** test 343s im3 = magic (99); 343s expected_a = [99 50; 1 49; 3 47; 5 45; 7 43; 9 41; 11 39]; 343s expected_b = [99 50; 1 49; 7 43; 13 37; 19 31; 25 25; 31 19]; 343s expected_c = [99 50; 1 49; 2 48; 3 47; 4 46; 5 45; 6 44]; 343s assert (houghpeaks (im3, 7), expected_a) 343s assert (houghpeaks (im3, 7, "nhoodsize", [11 11]), expected_b) 343s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 343s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 343s ***** test 343s im4 = double (im2uint16 (peaks ())); 343s expected_a = [37 15; 39 15; 41 15; 15 16; 17 16]; 343s expected_b = [37 15; 15 16; 26 21; 37 26; 20 32]; 343s expected_c = [37 15; 15 16; 35 16; 15 17; 35 17]; 343s expected_d = [37 15; 38 15; 39 15; 40 15; 41 15]; 343s assert (houghpeaks (im4, 5), expected_a) 343s assert (houghpeaks (im4, 5, "nhoodsize", [21 21]), expected_b) 343s assert (houghpeaks (im4, 5, "nhoodsize", [21 1]), expected_c) 343s assert (houghpeaks (im4, 5, "nhoodsize", [1 21]), expected_d) 343s ***** test # tests use of anti-symmetry in H 343s im5 = zeros (6,4); im5(2,1) = 1; im5(5,4) = 2; 343s expected = [5 4; 2 1]; 343s assert (houghpeaks (im5, 2, "nhoodsize", [1 1]), expected); 343s assert (houghpeaks (im5, 2, "nhoodsize", [3 3]), expected(1,:)); 343s ***** test #test use of anti-symmetry in the other direction 343s im6 = magic (100); 343s expected_a = [1 1; 100 99; 1 4; 100 95; 1 8; 100 91; 1 12]; 343s expected_b = [1 1; 100 95; 1 8; 100 87; 1 16; 100 79; 1 24]; 343s expected_c = [1 1; 100 99; 100 98; 1 4; 1 5; 100 95; 100 94]; 343s expected_d = expected_b; 343s assert (houghpeaks (im6, 7), expected_a) 343s assert (houghpeaks (im6, 7, "nhoodsize", [11 11]), expected_b) 343s assert (houghpeaks (im6, 7, "nhoodsize", [11 1]), expected_c) 343s assert (houghpeaks (im6, 7, "nhoodsize", [1 11]), expected_d) 343s ***** test # test undocumented Matlab default value for nhoodsize 343s im = zeros (723, 180); 343s im(585,136) = 8; 343s im(593,135) = 7; 343s im(310,46) = 6; 343s expected = [585, 136; 310, 46]; 343s assert (houghpeaks (im, 2), expected) 343s ***** test 343s I = max (0, phantom ()); 343s H = hough (I); 343s P0 = [585, 136; 310, 46; 595, 136; 522, 104; 373, 46]; 343s assert (houghpeaks (H, 5), P0) 343s ***** demo 343s I = checkerboard (30, 1, 1); 343s I = imnoise(I, "salt & pepper", 0.2); 343s figure, imshow (I); 343s title ("noisy image with some lines"); 343s BW = edge (I, "canny"); 343s figure, imshow(BW); 343s title ("edge image"); 343s [H, theta, rho] = hough (BW); 343s figure, imshow (mat2gray (H), [],"XData",theta,"YData",rho); 343s title ("Hough transform of edge image \n 2 peaks marked"); 343s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 343s peaks = houghpeaks (H, 2); 343s peaks_rho = rho(peaks(:,1)) 343s peaks_theta = theta(peaks(:,2)) 343s hold on; 343s plot(peaks_theta,peaks_rho,"sr"); 343s hold off; 343s 34 tests, 34 passed, 0 known failure, 0 skipped 343s [inst/axes2pix.m] 343s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/axes2pix.m 343s ***** error id=Octave:invalid-fun-call axes2pix () 343s ***** error id=Octave:invalid-fun-call axes2pix (42) 343s ***** error id=Octave:invalid-fun-call axes2pix (42, [1, 2]) 343s ***** error id=Octave:invalid-input-arg axes2pix ([42, 43], [1, 2], [1, 2, 3]) 343s ***** error id=Octave:invalid-input-arg axes2pix (42, [1, 2; 3, 4], [1, 2, 3]) 343s ***** assert (axes2pix (42, [1 42], []), []) 343s ***** assert (axes2pix (240, [1, 240], 30), 30) 343s ***** assert (axes2pix (291, [1, 291], 30), 30) 343s ***** assert (axes2pix (240, [400.5, 520], 450), 100) 343s ***** assert (axes2pix (291, [-19, 271], 90), 110) 343s ***** assert (axes2pix (1, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 343s ***** assert (axes2pix (5, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 343s ***** assert (axes2pix (0, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 343s ***** assert (axes2pix (5, [5 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 343s ***** assert (axes2pix (5, [3 -1], [1, 2, 3, 4, 5]), [3, 2, 1, 0, -1]) 343s ***** assert (axes2pix (25, [5 1], [1, 2, 3, 4, 5]), [25, 19, 13, 7, 1]) 343s ***** assert (axes2pix (1, [1 5], [1, 2, 3, 4, 5]), [1, 2, 3, 4, 5]) 343s ***** assert (axes2pix (1, [5 1], [-1, 0, 1, 2.5]), [-5, -4, -3, -1.5]) 343s ***** assert (axes2pix (1, [-10 -15], [-1, 0, 1.5]), [10, 11, 12.5]) 343s ***** assert (axes2pix (5, [5; 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 343s ***** assert (axes2pix (5, [5; 1], [1; 2; 3; 4; 5]), [5; 4; 3; 2; 1]) 343s 21 tests, 21 passed, 0 known failure, 0 skipped 343s [inst/entropyfilt.m] 343s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/entropyfilt.m 343s ***** test 343s a = log2 (9) * ones (5, 5); 343s b = -(2*log2 (2/9) + log2 (1/9))/3; 343s a(1,2:4) = b; 343s a(5,2:4) = b; 343s a(2:4,1) = b; 343s a(2:4,5) = b; 343s c = -(4*log2 (4/9) + 4*log2 (2/9) + log2 (1/9))/9; 343s a(1,1) = c; 343s a(5,1) = c; 343s a(1,5) = c; 343s a(5,5) = c; 343s assert (entropyfilt (uint8 (magic (5)), ones (3, 3)), a, 2*eps); 343s ***** test 343s assert (entropyfilt (uint8 (ones (10, 10))), zeros (10, 10)); 343s ***** test 343s A = zeros (3,3); 343s B = ones (3,3); 343s C = [1 1 1; 2 2 2; 3 3 3]; 343s D = C'; 343s E = ones (3,3); 343s E(2,2) = 2; 343s F = 3 .* ones (3,3); 343s F(2,2) = 1; 343s G = [-1 2 7; -5 2 8; -7 pi 9]; 343s H = [5 2 8; 1 -3 1; 5 1 0]; 343s Hf = mat2gray(H); 343s X = uint8(abs(H)); 343s P = [0.2 0.201 0.204; 0.202 0.203 0.205; 0.205 0.206 0.202]; 343s Q = uint16([100 101 103; 100 105 102; 100 102 103]); 343s 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]); 343s Aout = zeros (3); 343s Bout = zeros (3); 343s Cout = zeros (3); 343s Dout = zeros (3); 343s Eout = zeros (3); 343s Fout = zeros (3); 343s Gout_1 = -sum([2 7]./9.*log2([2 7]./9)); 343s Gout_2 = -sum([3 6]./9.*log2([3 6]./9)); 343s Gout_3 = -sum([4 5]./9.*log2([4 5]./9)); 343s Gout = [Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3]; 343s Hout_5 = -sum([2 7]./9.*log2([2 7]./9)) ; 343s Hout = [0.8916 0.8256 0.7412; 0.8256 Hout_5 0.6913; 0.7412 0.6913 0.6355]; 343s Hfout_5 = -sum([3 2 1 1 1 1]./9.*log2([3 2 1 1 1 1]./9)); 343s Hfout = [2.3613 2.3296 2.2252; 2.4571 Hfout_5 2.3090; 2.4805 2.4488 2.3445]; 343s Xout_5 = -sum([1 1 1 1 2 3]./9.*log2([1 1 1 1 2 3]./9)); 343s Xout = [2.3613 2.3296 2.2252; 2.4571 Xout_5 2.3090; 2.4805 2.4488 2.3445]; 343s Pout_5 = -sum([1 2 6]./9.*log2([1 2 6]./9)); 343s Pout = [1.1137 1.1730 1.2251; 1.1595 Pout_5 1.2774; 1.1556 1.2183 1.2635]; 343s Qout = zeros(3); 343s Rout = [3.5143 3.5700 3.4871 3.4957 3.4825; 343s 3.4705 3.5330 3.4341 3.4246 3.3890; 343s 3.3694 3.4063 3.3279 3.3386 3.3030; 343s 3.3717 3.4209 3.3396 3.3482 3.3044; 343s 3.4361 3.5047 3.3999 3.4236 3.3879]; 343s assert (entropyfilt (A), Aout); 343s assert (entropyfilt (B), Bout); 343s assert (entropyfilt (C), Cout); 343s assert (entropyfilt (D), Dout); 343s assert (entropyfilt (E), Eout); 343s assert (entropyfilt (F), Fout); 343s assert (entropyfilt (G), Gout, 1e-4); 343s assert (entropyfilt (H), Hout, 1e-4); 343s assert (entropyfilt (Hf), Hfout, 1e-4); 343s assert (entropyfilt (X), Xout, 1e-4); 343s assert (entropyfilt (P), Pout, 1e-4); 343s assert (entropyfilt (Q), Qout); 343s assert (entropyfilt (R), Rout, 1e-4); 343s 3 tests, 3 passed, 0 known failure, 0 skipped 343s [inst/cp2tform.m] 343s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/cp2tform.m 343s ***** function [crw, cap] = coords (npt = 1000, scale = 2, dtheta = pi/3, 343s dx = 2, dy = -6, sig2noise = 1e32) 343s theta = (rand(npt, 1)*2-1)*2*pi; 343s R = rand(npt,1); 343s y = R.*sin(theta); 343s x = R.*cos(theta); 343s crw = [y x]; 343s 343s thetap = theta + dtheta; 343s Rap = R * scale; 343s 343s yap = Rap.*sin(thetap); 343s yap = yap + dy; 343s yap = yap + rand (size (yap)) * norm (yap) / sig2noise; 343s 343s xap = Rap.*cos(thetap); 343s xap = xap + dx; 343s xap = xap + rand (size (xap)) * norm (xap) / sig2noise; 343s cap = [yap xap]; 343s ***** endfunction 343s ***** test 343s npt = 100000; 343s [crw, cap] = coords (npt); 343s ttype = 'projective'; 343s T = cp2tform (crw, cap, ttype); 343s crw2 = tforminv (T, cap); 343s finalerr = norm (crw - crw2)/npt; 343s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 343s ***** test 343s npt = 100000; 343s [crw, cap] = coords (npt); 343s ttype = 'affine'; 343s T = cp2tform (crw, cap, ttype); 343s crw2 = tforminv (T, cap); 343s finalerr = norm (crw - crw2)/npt; 343s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 343s ***** xtest 343s npt = 100000; 343s [crw, cap] = coords (npt); 343s ttype = 'nonreflective similarity'; 343s T = cp2tform (crw, cap, ttype); 343s crw2 = tforminv (T, cap); 343s finalerr = norm (crw - crw2)/npt; 343s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 343s ***** test 343s npt = 100000; 343s [crw, cap] = coords (npt); 343s cap(:,2) *= -1; % reflection around y axis 343s ttype = 'similarity'; 343s T = cp2tform (crw, cap, ttype); 343s crw2 = tforminv (T, cap); 343s finalerr = norm (crw - crw2)/npt; 343s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 344s ***** xtest 344s npt = 100000; 344s [crw, cap] = coords (npt); 344s ttype = 'polynomial'; 344s ord = 2; 344s T = cp2tform (crw, cap, ttype, ord); 344s crw2 = tforminv (T, cap); 344s finalerr = norm (crw - crw2)/npt; 344s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 344s ***** xtest 344s npt = 100000; 344s [crw, cap] = coords (npt); 344s ttype = 'polynomial'; 344s ord = 3; 344s T = cp2tform (crw, cap, ttype, ord); 344s crw2 = tforminv (T, cap); 344s finalerr = norm (crw - crw2)/npt; 344s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 344s ***** xtest 344s npt = 100000; 344s [crw, cap] = coords (npt); 344s ttype = 'polynomial'; 344s ord = 4; 344s T = cp2tform (crw, cap, ttype, ord); 344s crw2 = tforminv (T, cap); 344s finalerr = norm (crw - crw2)/npt; 344s assert (finalerr < 6*eps, "norm = %3.2e ( > 6*eps)", finalerr) 344s 7 tests, 7 passed, 0 known failure, 0 skipped 344s [inst/colorangle.m] 344s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/colorangle.m 344s ***** error id=Octave:invalid-fun-call colorangle () 344s ***** error id=Octave:invalid-fun-call colorangle (1, 2, 3) 344s ***** error colorangle (2, 3) 344s ***** error colorangle ([1, 2], [3, 4]) 344s ***** error id=Octave:expected-real colorangle ([1, 2, 3j], [4, 5, 6]) 344s ***** error id=Octave:expected-real colorangle ([1, 2, 3], [4j, 5, 6]) 344s ***** error id=Octave:invalid-type colorangle ("abc", "def") 344s ***** test 344s assert (colorangle ([0 0 0], [0 1 0]), NaN) 344s assert (colorangle ([0 0 0], [0 1 1]), NaN) 344s assert (colorangle ([0 1 0], [0 0 0]), NaN) 344s assert (colorangle ([1 1 0], [0 0 0]), NaN) 344s assert (colorangle ([1 1 1], [1 1 1]), 0) 344s ***** assert (colorangle ([0 0 0], [0 0 0]), 0) 344s ***** assert (colorangle ([1 0 0], [-1 0 0]), 180) 344s ***** assert (colorangle ([0 0 1], [1 0 0]), 90) 344s ***** assert (colorangle ([0; 0; 1], [1 0 0]), 90) 344s ***** assert (colorangle ([0, 0, 1], [1; 0; 0]), 90) 344s ***** assert (colorangle ([0.5 0.61237 -0.61237], [0.86603 0.35355 -0.35355]), 30.000270917, 1e-4) 344s ***** assert (colorangle ([0.1582055390, 0.2722362096, 0.1620813305], [0.0717 0.1472 0.0975]), 5.09209927, 1e-6) 344s ***** assert (colorangle ([0.0659838500, 0.1261619536, 0.0690643667], [0.0717 0.1472 0.0975]), 5.10358588, 1e-6) 344s ***** assert (colorangle ([0.436871170, 0.7794672250, 0.4489702582], [0.0717 0.1472 0.0975]), 5.01339769, 1e-6) 344s ***** test 344s a = [1 0 0]; 344s b = [1 1 0]; 344s expected = colorangle (a, b); 344s assert (colorangle (a.', b.'), expected) 344s assert (colorangle (a, b.'), expected) 344s assert (colorangle (a.', b), expected) 344s assert (colorangle (vec (a, 3), b.'), expected) 344s ***** assert (colorangle ([1 0 0; 0 1 1], [1 1 1; 2 3 4]), 344s [colorangle([1 0 0], [1 1 1]); colorangle([0 1 1], [2 3 4])]) 344s ***** test 344s a = [1 0 0; 0.5 1 0; 0 1 1; 1 1 1]; 344s b = [0 1 0]; 344s expected = zeros (4, 1); 344s for i = 1:4 344s expected(i) = colorangle (a(i,:), b); 344s endfor 344s assert (colorangle (a, b), expected) 344s assert (colorangle (b, a), expected) 344s ***** xtest 344s a = [1 2 3]; 344s b = [2 3 4]; 344s c = [5 6 7]; 344s d = [3 1 1]; 344s 344s ac = colorangle (c, a); 344s bc = colorangle (b, c); 344s ad = colorangle (a, d); 344s bd = colorangle (b, d); 344s 344s assert (colorangle (a, cat (3, c, d)), 344s cat (3, [ac ad])) 344s 344s assert (colorangle (cat (3, a, b), cat (3, c, d)), 344s cat (3, [ac cd])) 344s 344s assert (colorangle (cat (1, a, b), cat (3, c, d)), 344s reshape ([ac bc ad bd], [2 2])) 344s !!!!! known failure 344s dot: sizes of X and Y must match 344s 21 tests, 20 passed, 1 known failure, 0 skipped 344s [inst/ordfiltn.m] 344s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/ordfiltn.m 344s ***** shared b, f, s 344s b = [ 0 1 2 3 344s 1 8 12 12 344s 4 20 24 21 344s 7 22 25 18]; 344s 344s f = [ 8 12 12 12 344s 20 24 24 24 344s 22 25 25 25 344s 22 25 25 25]; 344s ***** assert (ordfiltn (b, 9, true (3)), f); 344s 344s f = [ 1 8 12 12 344s 8 20 21 21 344s 20 24 24 24 344s 20 24 24 24]; 344s ***** assert (ordfiltn (b, 8, true (3)), f); 344s 344s f = [ 1 2 8 12 344s 4 12 20 21 344s 8 22 22 21 344s 20 24 24 24]; 344s ***** assert (ordfiltn (b, 7, true (3), "symmetric"), f); 344s 344s f = [ 1 8 12 12 344s 4 20 24 21 344s 7 22 25 21 344s 7 22 25 21]; 344s ***** assert (ordfiltn (b, 3, true (3, 1)), f); 344s 344s f = [ 1 8 12 12 344s 4 20 24 18 344s 4 20 24 18 344s 4 20 24 18]; 344s ***** assert (ordfiltn (b, 3, true (4, 1)), f); 344s 344s f = [ 4 20 24 21 344s 7 22 25 21 344s 7 22 25 21 344s 7 22 25 21]; 344s ***** assert (ordfiltn (b, 4, true (4, 1)), f); 344s 344s s = [0 0 1 344s 0 0 1 344s 0 0 1]; 344s f = [ 2 8 12 12 344s 9 20 22 21 344s 21 25 24 24 344s 21 25 24 24]; 344s ***** assert (ordfiltn (b, 8, true (3), s), f); 344s 344s b(:,:,2) = b(:,:,1) - 1; 344s b(:,:,3) = b(:,:,2) - 1; 344s f(:,:,1) = [ 1 8 11 11 344s 8 20 21 21 344s 20 24 24 24 344s 20 24 24 24]; 344s f(:,:,2) = [ 6 10 11 11 344s 18 22 22 22 344s 20 24 24 24 344s 20 24 24 24]; 344s f(:,:,3) = [ 0 7 10 10 344s 7 19 20 20 344s 19 23 23 23 344s 19 23 23 23]; 344s ***** assert (ordfiltn (b, 25, true (3, 3, 3)), f); 344s 8 tests, 8 passed, 0 known failure, 0 skipped 344s [inst/imopen.m] 344s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imopen.m 344s ***** shared in, out 344s in = [ 0 0 0 1 1 1 0 0 1 1 344s 0 1 0 1 1 1 0 0 0 1 344s 1 1 1 1 1 0 0 0 0 0 344s 0 1 1 1 1 0 0 0 0 0 344s 0 0 0 1 0 0 0 0 1 0 344s 0 0 0 0 0 0 0 1 1 1 344s 0 0 0 0 1 0 1 0 1 0 344s 0 0 0 1 1 1 1 1 0 0 344s 0 0 0 0 1 1 1 0 0 0 344s 0 0 0 1 1 1 0 0 0 0]; 344s 344s out = [ 0 0 0 1 1 1 0 0 0 0 344s 0 0 0 1 1 1 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0 344s 0 0 0 0 0 0 0 0 0 0]; 344s ***** assert (imopen (logical (in), ones (3)), logical (out)); 344s 344s out = [80 80 1 8 15 51 51 51 51 40 344s 80 80 7 8 15 54 55 55 55 40 344s 4 7 7 8 15 54 55 55 55 40 344s 17 17 17 7 3 54 55 55 55 28 344s 17 17 17 2 9 54 54 54 52 33 344s 17 17 17 29 29 29 29 26 33 33 344s 5 5 13 29 29 29 30 32 39 39 344s 6 6 13 29 29 29 30 32 39 39 344s 10 12 77 77 77 35 35 35 39 39 344s 10 12 77 77 77 35 35 35 27 27]; 344s ***** assert (imopen (magic (10), ones (3)), out); 344s ***** assert (imopen (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 344s 344s ## using a se that will be decomposed in 2 pieces 344s out =[ 1 1 1 8 15 40 40 40 40 40 344s 4 4 4 8 15 40 40 40 40 40 344s 4 4 4 8 15 40 40 40 40 40 344s 5 5 5 3 3 28 28 28 28 28 344s 5 5 5 2 9 28 28 28 28 28 344s 5 5 13 26 26 26 26 26 26 26 344s 5 5 13 29 29 29 29 29 27 27 344s 6 6 13 29 29 29 29 29 27 27 344s 6 6 13 29 29 29 29 29 27 27 344s 6 6 13 29 29 29 29 29 27 27]; 344s ***** assert (imopen (magic (10), ones(5)), out); 344s 344s ## using a weird non-symmetric and even-size se 344s out =[ 7 7 1 8 15 55 51 51 41 40 344s 7 7 7 8 16 55 55 55 51 41 344s 4 9 7 7 16 54 55 54 55 47 344s 25 25 9 9 3 52 54 52 54 28 344s 25 24 25 2 9 33 52 34 52 34 344s 17 24 29 31 29 30 33 26 33 34 344s 17 5 29 31 31 31 30 32 39 33 344s 10 6 13 35 35 29 31 32 45 39 344s 10 12 77 36 36 35 35 31 45 45 344s 11 12 77 77 77 36 36 35 27 45]; 344s ***** assert (imopen (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 344s 5 tests, 5 passed, 0 known failure, 0 skipped 344s [inst/im2uint16.m] 344s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/im2uint16.m 344s ***** assert (im2uint16 (uint16 ([1 2 3])), uint16 ([1 2 3])); 344s ***** assert (im2uint16 (uint8 ([0 127 128 255])), uint16 ([0 32639 32896 65535])); 344s ***** assert (im2uint16 ([0 0.5 1]), uint16 ([0 32768 65535])); 344s ***** assert (im2uint16 ([0 1/65535 1.4/65535 1.5/65535 1]), uint16 ([0 1 1 2 65535])); 344s ***** assert (im2uint16 ([1 2]), uint16 ([65535 65535])); 344s ***** assert (im2uint16 ([-1 0 0.5 1]), uint16 ([0 0 32768 65535])); 344s ***** assert (im2uint16 (int16 ([-32768 -1 0 32768])), uint16 ([0 32767 32768 65535])); 344s ***** assert (im2uint16 ([false true]), uint16 ([0 65535])); 344s ***** assert (im2uint16 ([true false]), uint16 ([65535 0])); 344s ***** assert (im2uint16 (uint8 ([3 25]), "indexed"), uint16 ([3 25])); 344s ***** assert (im2uint16 ([1 3 25], "indexed"), uint16 ([0 2 24])); 344s ***** error im2uint16 ([0 1 2], "indexed"); 344s ***** error im2uint16 (int16 ([17 8]), "indexed"); 344s ***** error im2uint16 (int16 ([-7 8]), "indexed"); 344s ***** error im2uint16 ([false true], "indexed"); 344s ***** error im2uint16 (65537, "indexed"); 344s 16 tests, 16 passed, 0 known failure, 0 skipped 344s [inst/imtransform.m] 344s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imtransform.m 344s ***** demo 344s ## Various linear transforms 344s figure (); 344s im = [checkerboard(20, 2, 4); checkerboard(40, 1, 2)]; 344s %input space corners 344s incp = [1 1; 160 1; 160 160; 1 160]; 344s udata = [min(incp(:,1)) max(incp(:,1))]; 344s vdata = [min(incp(:,2)) max(incp(:,2))]; 344s subplot (2,3,1); 344s imshow (im) 344s hold on 344s plot (incp(:,1), incp(:,2), 'ob') 344s axis on 344s xlabel ('Original') 344s 344s % Translation and scaling 344s outcp = incp * 2; 344s outcp(:,1) += 200; 344s outcp(:,2) += 500; 344s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 344s subplot (2,3,2); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 344s 'vdata', vdata, 'fillvalues', 1); 344s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s axis on, hold on, xlabel ('Translation / Scaling'); 344s plot (outcp(:,1), outcp(:,2), 'or') 344s 344s % Shear 344s outcp = [1 1; 160 1; 140 160; -19 160]; % affine only needs 3 control points 344s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 344s subplot (2,3,3); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 344s 'vdata', vdata, 'fillvalues', 1); 344s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s axis on, hold on, xlabel ('Shear'); 344s plot (outcp(:,1), outcp(:,2), 'or') 344s 344s % Rotation 344s theta = pi/4; 344s T = maketform ('affine', [cos(theta) -sin(theta); ... 344s sin(theta) cos(theta); 0 0]); 344s outcp = tformfwd (T, incp); 344s subplot (2,3,4); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 344s 'vdata', vdata, 'fillvalues', 1 ); 344s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s axis on, hold on, xlabel ('Rotation'); 344s plot (outcp(:,1), outcp(:,2), 'or') 344s 344s % Reflection around x axis 344s outcp = incp; 344s outcp(:,2) *= -1; 344s T = cp2tform (incp, outcp, 'similarity'); 344s subplot (2,3,5); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 344s 'vdata', vdata, 'fillvalues', 1 ); 344s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s axis on, hold on, xlabel ('Reflection'); 344s plot (outcp(:,1), outcp(:,2), 'or') 344s 344s % Projection 344s outcp = [1 1; 160 -40; 220 220; 12 140]; 344s T = maketform ('projective', incp, outcp); 344s subplot (2,3,6); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 344s 'vdata', vdata, 'fillvalues', 1 ); 344s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s axis on, hold on, xlabel ('Projection'); 344s plot (outcp(:,1), outcp(:,2), 'or') 344s ***** demo 344s ## Streched image 344s rad = 2; % minimum value: 4/pi 344s [uu vv] = meshgrid ((-2:2)/rad, (-2:2)/rad); 344s rescfactor = sin ((uu.^2 + vv.^2).^.5); 344s inpts = [(reshape (uu, numel (uu), 1)), (reshape (vv, numel (uu), 1))]; 344s xx = rescfactor .* sign(uu); 344s yy = rescfactor .* sign(vv); 344s outpts = [reshape(xx, numel (xx), 1) reshape(yy, numel (yy), 1)]; 344s 344s T = cp2tform (inpts, outpts, "polynomial", 4); 344s figure; 344s subplot (1,2,1) 344s im = zeros (800, 800, 3); 344s im(:,:,1) = checkerboard (100) > 0.2; 344s im(:,:,3) = checkerboard (100) < 0.2; 344s [im2 xdata ydata] = imtransform (im, T, 'udata', [-2 2], 344s 'vdata', [-2 2], 'fillvalues', 344s [0 1 0]); 344s imh = imshow (im2); 344s set (imh, 'xdata', xdata, 'ydata', ydata) 344s set (gca, 'xlim', xdata, 'ylim', ydata) 344s [im cmap] = imread ('default.img'); 344s subplot (1,2,2) 344s [im2 xdata ydata] = imtransform (im, T, 'udata', [-1 1], 344s 'vdata', [-1 1], 'fillvalues', 344s round (length (cmap) / 2)); 344s imh = imshow (im2, cmap); 344s ***** test 344s im = checkerboard (); 344s incp = [0 0; 0 1; 1 1]; 344s scl = 10; 344s outcp = scl * incp; 344s T = maketform ('affine', incp, outcp); 344s [im2 xdata ydata] = imtransform (im, T, 'udata', [0 1], 344s 'vdata', [0 1], 'size', [500 500]); 344s assert (xdata, scl * ([0 1])) 344s assert (ydata, scl * ([0 1])) 344s assert (size (im2), [500 500]) 344s ***** test 344s im = checkerboard (); 344s incp = [0 0; 0 1; 1 1]; 344s scl = 10; 344s outcp = scl * incp; 344s xyscale = scl; 344s T = maketform ('affine', incp, outcp); 344s [im2 xdata ydata] = imtransform (im, T, 'xyscale', xyscale); 344s assert (size (im2), size (im), 1) 344s ***** test 344s im = checkerboard (100, 10, 4); 344s theta = 2 * pi; 344s T = maketform ("affine", [cos(theta) -sin(theta); ... 344s sin(theta) cos(theta); 0 0]); 344s im2 = imtransform (im, T, "nearest", "xdata", [1 800], "ydata", [1 2000]); 344s im = im(2:end-1, 2:end-1); %avoid boundaries 344s im2 = im2(2:end-1, 2:end-1); 344s assert (im, im2) 345s ***** test 345s im = checkerboard (20, 10, 4); 345s theta = pi/6; 345s T = maketform ('affine', [cos(theta) -sin(theta); ... 345s sin(theta) cos(theta); 0 0]); 345s [im2, xdata] = imtransform (im, T); 345s nu = columns(im); 345s nv = rows(im); 345s nx = xdata(2); 345s diag = sqrt (nu^2 + nv^2); 345s ang = atan (nv / nu); 345s assert (nx, diag * abs (cos (theta - ang)), 345s diag * 1 / size (im2, 2)) 345s ***** test 345s im = rand (2); 345s tmat = [eye(2); 0 0]; 345s T = maketform ("affine", tmat); 345s im2 = imtransform (im, T, "xdata", [1 3]); 345s assert (im2(:,3), zeros (2,1)) 345s ***** test 345s im = rand (2); 345s tmat = [eye(2); 0 0]; 345s T = maketform ('affine', tmat); 345s im2 = imtransform (im, T, "xdata", [1 3]); 345s assert (size (im2), [2 3]) 345s ***** test 345s im = rand (2); 345s tmat = [eye(2); 0 0]; 345s T = maketform ('affine', tmat); 345s im2 = imtransform (im, T, "xyscale", [0.5 0.5]); 345s assert (size (im2), [3 3]) 345s ***** test 345s im = [1,2,3,4; 5,6,7,8; 9,10,11,12; 13,14,15,16]; 345s tmat = [eye(2); 0 0]; 345s T = maketform ('affine', tmat); 345s im2 = imtransform (im, T, 'xdata', [1 4], 'ydata', [4 1]); 345s assert (im2, [13,14,15,16; 9,10,11,12; 5,6,7,8; 1,2,3,4]) 345s 345s im2 = imtransform (im, T, 'xdata', [4 1], 'ydata', [1 4]); 345s assert (im2, [4,3,2,1; 8,7,6,5; 12,11,10,9; 16,15,14,13]) 345s 345s [im2, xd, yd] = imtransform (im, T, 'xdata', [4 1], 'ydata', [4 1]); 345s assert (im2, [16,15,14,13; 12,11,10,9; 8,7,6,5; 4,3,2,1]) 345s assert (xd, [4 1]) 345s assert (yd, [4 1]) 345s 345s ***** error imtransform () 345s ***** error imtransform (rand(2)) 346s ***** error ... 346s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 346s 'udata', [1 2], 'vdata', [2 1]); 346s ***** error ... 346s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 346s 'udata', [2 1], 'vdata', [1 2]); 346s 12 tests, 12 passed, 0 known failure, 0 skipped 346s [inst/qtdecomp.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/qtdecomp.m 346s ***** demo 346s full(qtdecomp(eye(8))) 346s %It finds 2 big blocks of 0 and it decomposes further where 0 and 1 are mixed. 346s ***** # Test if odd-sized limits split 346s ***** assert(full(qtdecomp(eye(5))), reshape([5,zeros(1,24)],5,5)); 346s ***** assert(full(qtdecomp(eye(6))), repmat(reshape([3,zeros(1,8)],3,3),2,2)); 346s ***** # Test 'equal' method 346s ***** test 346s a=ones(2,2); 346s b=[2,0;0,0]; 346s assert(full(qtdecomp(eye(4))), [a,b;b,a]); 346s ***** shared A, B2, B4 346s A=[ 1, 4, 2, 5,54,55,61,62; 346s 3, 6, 3, 1,58,53,67,65; 346s 3, 6, 3, 1,58,53,67,65; 346s 3, 6, 3, 1,58,53,67,65; 346s 23,42,42,42,99,99,99,99; 346s 27,42,42,42,99,99,99,99; 346s 23,22,26,25,99,99,99,99; 346s 22,22,24,22,99,99,99,99]; 346s B2=[2,0;0,0]; 346s B4=zeros(4); B4(1,1)=4; 346s ***** test 346s R=[ones(4,8); [ones(2),B2;ones(2,4)], B4]; 346s assert(full(qtdecomp(A)), R); 346s assert(full(qtdecomp(A,0)), R); 346s ***** # Test 'threshold' method 346s ***** test 346s R=[ones(4,8); [ones(2),B2;B2,ones(2)],B4]; 346s assert(full(qtdecomp(A,1)), R); 346s ***** test 346s R=[[B4,[B2,B2;B2,B2]]; [[ones(2),B2;B2,B2],B4]]; 346s assert(full(qtdecomp(A,10)), R); 346s ***** test 346s R=[[B4,[B2,B2;B2,B2]]; [[B2,B2;B2,B2],B4]]; 346s assert(full(qtdecomp(A,10,2)), R); 346s 346s assert(full(qtdecomp(A,100,[2, 4])), [B4,B4;B4,B4]); 346s ***** test 346s f = @(A, c1 = 54, c2 = 0, c3 = 0) (A (1, 1, :) != ((c1+c2+c3) * ones (1, 1, size (A, 3))))(:); 346s 346s assert(full(qtdecomp(A,f)),[ones(4),B4;ones(4,8)]); 346s assert(full(qtdecomp(A,f,54)),[ones(4),B4;ones(4,8)]); 346s assert(full(qtdecomp(A,f,4,40,10)),[ones(4),B4;ones(4,8)]); 346s ***** test 346s ***** # no params 346s first_eq=inline("(A(1,1,:)!=(54*ones(1,1,size(A,3))))(:)","A"); 346s assert(full(qtdecomp(A,first_eq)),[ones(4),B4;ones(4,8)]); 346s ***** test 346s ***** # 1 param 346s first_eq=inline("(A(1,1,:)!=(c*ones(1,1,size(A,3))))(:)","A","c"); 346s assert(full(qtdecomp(A,first_eq,54)),[ones(4),B4;ones(4,8)]); 346s ***** test 346s ***** # 3 params 346s first_eq=inline("(A(1,1,:)!=((c1+c2+c3)*ones(1,1,size(A,3))))(:)","A","c1","c2","c3"); 346s assert(full(qtdecomp(A,first_eq,4,40,10)),[ones(4),B4;ones(4,8)]); 346s 11 tests, 11 passed, 0 known failure, 0 skipped 346s [inst/immultiply.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/immultiply.m 346s ***** assert (immultiply (uint8 ([255 50]), uint16 ([300 50])), uint8 ([255 255])); # default to first class and truncate 346s ***** assert (immultiply (uint8 ([250 50]), uint16 ([ 3 4]), "uint32"), uint32 ([750 200])); # defining output class works (not in matlab?) 346s ***** assert (immultiply (uint8 ([255 50]), 4), uint8 ([255 200])); # works multiplying by a scalar 346s ***** assert (immultiply (logical ([ 1 0]), uint16 ([300 50])), uint16 ([300 0])); # output class defaults to whatever input is not logical 346s ***** assert (immultiply (logical ([ 1 0]), logical ([ 1 1])), double ([ 1 0])); # tested on matlab for compatibility 346s 5 tests, 5 passed, 0 known failure, 0 skipped 346s [inst/imfilter.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imfilter.m 346s ***** test 346s img = [ 346s 8 2 6 7 4 3 7 8 4 1 346s 9 9 1 1 4 7 3 3 8 1 346s 2 9 8 3 7 6 5 8 6 5 346s 9 5 9 1 8 2 7 3 5 8 346s 6 8 7 1 2 2 9 9 9 9 346s 1 2 7 8 5 5 9 4 3 2 346s 3 4 7 7 5 9 5 2 7 6 346s 5 9 4 3 6 4 2 3 7 5 346s 9 8 6 9 7 6 2 6 4 1 346s 9 9 2 1 7 3 3 5 6 4]; 346s 346s expected_corr = [ 346s 46 53 30 34 44 42 40 51 42 19 346s 48 66 57 42 46 50 59 58 49 34 346s 48 67 55 54 44 58 50 50 64 39 346s 44 77 52 43 28 55 57 75 70 50 346s 29 51 65 51 42 50 60 62 55 42 346s 23 44 58 59 63 59 55 57 50 36 346s 36 50 52 56 56 47 48 45 47 39 346s 51 64 70 62 56 50 40 38 41 31 346s 58 72 50 49 58 45 41 42 49 28 346s 27 37 27 21 19 26 16 23 24 17]; 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2]), expected_corr) 346s 346s ## test order of options (and matching with defaults) 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0), expected_corr) 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr"), expected_corr) 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr", 0), expected_corr) 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0, "corr"), expected_corr) 346s 346s expected_conv = [ 346s 21 31 23 22 21 28 29 26 22 6 346s 47 55 43 43 51 44 49 64 44 24 346s 56 69 53 34 47 50 57 48 52 37 346s 38 70 60 56 41 57 54 61 66 44 346s 46 67 53 48 32 54 59 65 63 46 346s 28 56 63 50 36 54 58 66 63 47 346s 20 43 55 62 67 57 52 53 44 28 346s 42 51 54 61 57 53 44 46 48 39 346s 53 70 63 50 57 42 38 38 43 33 346s 53 62 50 54 52 44 38 40 40 20]; 346s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "conv"), expected_conv) 346s 346s ## alternative class 346s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2]), 346s single (expected_corr)) 346s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2]), 346s int8 (expected_corr)) 346s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2]), 346s uint8 (expected_corr)) 346s 346s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 346s single (expected_conv)) 346s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 346s int8 (expected_conv)) 346s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 346s uint8 (expected_conv)) 346s 346s ***** test 346s I = zeros (6); 346s I(2:3,2:3) = 1; 346s F = zeros (4); 346s F(2,2:3) = 1; 346s result = [0 0 0 0 0 0 346s 1 2 1 0 0 0 346s 1 2 1 0 0 0 346s 0 0 0 0 0 0 346s 0 0 0 0 0 0 346s 0 0 0 0 0 0]; 346s assert (imfilter (I, F), result) 346s 2 tests, 2 passed, 0 known failure, 0 skipped 346s [inst/bwhitmiss.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwhitmiss.m 346s ***** test 346s bw1 = repmat ([0 1 0 1 1], [3 1]); 346s bw2 = repmat ([0 1 0 0 0], [3 1]); 346s assert (bwhitmiss (bw1, [1; 0; 1], [1 0 1]), logical (bw2)) 346s assert (bwhitmiss (bw1, [0 1 0; -1 0 -1; 0 1 0]), logical (bw2)) 346s 1 test, 1 passed, 0 known failure, 0 skipped 346s [inst/imclearborder.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imclearborder.m 346s ***** test 346s a = logical ([ 346s 0 1 0 0 1 0 0 0 0 1 346s 1 0 0 0 0 1 0 0 0 0 346s 0 1 0 0 0 0 0 0 0 0 346s 1 0 1 0 1 0 1 0 0 1 346s 0 0 0 0 0 0 0 1 1 0 346s 0 0 1 0 0 1 0 1 0 0 346s 0 1 0 1 0 1 1 0 0 0 346s 0 0 0 1 0 0 0 0 0 0 346s 0 0 0 1 0 1 1 0 0 0 346s 0 0 0 1 1 0 0 0 1 0]); 346s 346s a4 = logical ([ 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 1 0 0 0 0 346s 0 1 0 0 0 0 0 0 0 0 346s 0 0 1 0 1 0 1 0 0 0 346s 0 0 0 0 0 0 0 1 1 0 346s 0 0 1 0 0 1 0 1 0 0 346s 0 1 0 0 0 1 1 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 1 1 0 0 0 346s 0 0 0 0 0 0 0 0 0 0]); 346s 346s a8 = logical ([ 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 1 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 0]); 346s 346s assert (imclearborder (a, 4), a4) 346s assert (imclearborder (a, [0 1 0; 1 1 1; 0 1 0]), a4) 346s assert (imclearborder (a), a8) 346s assert (imclearborder (a, 8), a8) 346s assert (imclearborder (a, ones (3)), a8) 346s ***** test 346s a = false (5, 5, 3); 346s a(2:4,2:4,:) = true; 346s assert (imclearborder (a, 4), a) 346s 346s a(1,2) = true; 346s a4 = a; 346s a4(:,:,1) = false; 346s assert (imclearborder (a, 4), a4) 346s 2 tests, 2 passed, 0 known failure, 0 skipped 346s [inst/imbothat.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imbothat.m 346s ***** assert (imbothat (ones (3), [1 1; 0 1]), zeros (3)); 346s ***** assert (imbothat (true (3), [1 1; 0 1]), false (3)); 346s ***** shared in, out, se 346s in = [ 0 0 0 1 1 1 0 0 1 1 346s 0 1 0 1 1 1 0 0 0 1 346s 1 1 1 1 1 0 0 0 0 0 346s 0 1 1 1 1 0 0 0 0 0 346s 0 0 0 1 0 0 0 0 1 0 346s 0 0 0 0 0 0 0 1 1 1 346s 0 0 0 0 1 0 1 0 1 0 346s 0 0 0 1 1 1 1 1 0 0 346s 0 0 0 0 1 1 1 0 0 0 346s 0 0 0 1 1 1 0 0 0 0]; 346s 346s out = [ 1 1 1 0 0 0 1 1 0 0 346s 1 0 1 0 0 0 0 0 0 0 346s 0 0 0 0 0 0 0 0 0 1 346s 1 0 0 0 0 0 0 0 0 1 346s 0 0 0 0 1 0 0 0 0 1 346s 0 0 0 1 1 1 1 0 0 0 346s 0 0 0 1 0 1 0 1 0 1 346s 0 0 0 0 0 0 0 0 0 0 346s 0 0 0 1 0 0 0 0 0 0 346s 0 0 0 0 0 0 1 0 0 0]; 346s ***** assert (imbothat (logical (in), ones (3)), logical (out)); 346s 346s out = [ 7 0 15 8 1 6 0 13 6 24 346s 0 8 9 2 0 0 16 7 0 23 346s 89 7 0 41 39 7 12 7 0 23 346s 8 1 69 40 58 1 6 2 0 43 346s 7 0 63 59 52 0 0 0 14 32 346s 62 55 6 7 0 7 0 23 16 1 346s 56 74 0 2 0 0 16 14 7 0 346s 0 73 69 0 0 19 15 8 1 0 346s 8 6 0 0 6 13 9 2 0 6 346s 7 0 0 19 0 14 7 0 23 0]; 346s ***** assert (imbothat (magic (10), ones (3)), out); 346s ***** assert (imbothat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 346s 346s ## using a se that will be decomposed in 2 pieces 346s out =[ 7 0 87 66 59 7 0 19 12 30 346s 0 13 81 60 58 1 19 13 6 29 346s 89 12 0 54 52 20 18 7 0 23 346s 8 6 69 53 71 14 12 2 0 43 346s 7 0 63 73 66 14 7 0 23 41 346s 76 69 14 7 0 30 23 46 39 7 346s 70 88 9 2 0 24 42 40 33 6 346s 14 87 80 0 0 43 41 34 27 0 346s 84 82 0 0 19 37 35 28 26 19 346s 89 82 0 20 13 36 29 22 45 13]; 346s ***** assert (imbothat (magic (10), ones(5)), out); 346s 346s ## using a weird non-symmetric and even-size se 346s out =[ 0 0 15 8 1 3 0 7 0 18 346s 0 8 53 59 0 0 14 13 0 17 346s 84 0 0 40 38 6 13 6 0 23 346s 2 0 42 47 58 0 6 0 0 41 346s 0 0 62 59 52 0 0 0 16 35 346s 6 58 13 6 0 3 19 19 35 1 346s 0 18 0 0 0 0 15 13 6 0 346s 0 17 69 0 0 17 17 8 0 0 346s 8 67 0 0 0 15 9 2 0 6 346s 7 0 0 17 10 42 7 0 19 0]; 346s ***** assert (imbothat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 346s 346s ## N dimensional and weird se 346s in = reshape (magic(16), [4 8 4 2]); 346s se = ones (3, 3, 3); 346s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 346s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 346s out = zeros (size (in)); 346s out(:,:,1,1) = [ 346s 0 17 81 145 237 146 64 0 346s 205 128 64 0 0 37 83 147 346s 175 111 47 0 0 64 117 181 346s 0 64 128 209 173 109 45 0]; 346s out(:,:,2,1) = [ 346s 235 142 78 18 0 23 69 133 346s 0 35 103 163 215 128 46 0 346s 0 64 128 195 183 123 48 0 346s 153 93 43 0 14 78 146 215]; 346s out(:,:,3,1) = [ 346s 0 25 89 153 229 142 64 0 346s 201 128 64 0 0 41 91 155 346s 167 103 57 0 0 64 125 189 346s 0 64 146 217 165 101 37 0]; 346s out(:,:,4,1) = [ 346s 227 142 78 14 0 31 77 141 346s 0 43 107 171 211 128 46 0 346s 0 64 128 203 179 115 48 0 346s 149 99 35 0 18 82 146 223]; 346s out(:,:,1,2) = [ 346s 0 33 97 161 221 146 64 0 346s 189 125 61 0 0 53 99 163 346s 159 95 31 0 0 64 128 197 346s 0 64 128 225 157 93 29 0]; 346s out(:,:,2,2) = [ 346s 219 142 78 18 0 39 85 149 346s 0 51 119 179 199 128 46 0 346s 0 64 128 211 167 107 43 0 346s 137 77 27 0 14 78 146 231]; 346s out(:,:,3,2) = [ 346s 0 41 105 169 213 142 64 0 346s 185 121 64 0 0 57 107 171 346s 151 87 41 0 0 64 128 205 346s 0 64 146 233 149 85 21 0]; 346s out(:,:,4,2) = [ 346s 211 142 78 14 0 47 93 157 346s 0 59 123 187 195 128 46 0 346s 0 64 128 219 163 99 35 0 346s 133 83 19 0 18 82 146 239]; 346s ***** assert (imbothat (in, se), out); 346s 8 tests, 8 passed, 0 known failure, 0 skipped 346s [inst/findbounds.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/findbounds.m 346s ***** test 346s im = checkerboard (); 346s theta = pi/6; 346s T = maketform ('affine', [cos(theta) -sin(theta); ... 346s sin(theta) cos(theta); 0 0]); 346s inbnd = [0 0; 1 1]; 346s outbnd = findbounds (T, inbnd); 346s diag = 2^.5; 346s ang = pi/4; 346s assert (diff (outbnd(:,1)), diag * abs (cos (theta - ang)), eps) 346s assert (diff (outbnd(:,2)), diag * abs (cos (theta - ang)), eps) 346s 1 test, 1 passed, 0 known failure, 0 skipped 346s [inst/imgetfile.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imgetfile.m 346s ***** assert (1) 346s 1 test, 1 passed, 0 known failure, 0 skipped 346s [inst/imextendedmin.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imextendedmin.m 346s ***** shared im0, bw0_h2_out 346s im0 = uint8 ([5 5 5 5 5; 346s 5 4 3 4 5; 346s 5 3 0 3 5; 346s 5 4 3 4 5; 346s 5 5 5 5 5]); 346s bw0_h2_out = false (5); 346s bw0_h2_out(3,3) = true; 346s ***** error imextendedmin () 346s ***** error imextendedmin (im0) 346s ***** error imextendedmin ("hello", 2) 346s ***** error imextendedmin (i.*im0, 2) 346s ***** error imextendedmin (sparse (im0), 2) 346s ***** error imextendedmin (im0, -2) 346s ***** error imextendedmin (im0, 'a') 346s ***** error imextendedmin (im0, ones (2)) 346s ***** error imextendedmin (im0, 2*i) 346s ***** assert (imextendedmin (im0, 2), bw0_h2_out) 346s ***** assert (imextendedmin (double (im0), 2), bw0_h2_out) 346s ***** assert (imextendedmin (im0, 2, 8), bw0_h2_out) 346s ***** assert (imextendedmin (im0, 2, 4), bw0_h2_out) 346s ***** assert (imextendedmin (im0, 2, true (3)), bw0_h2_out) 346s ***** test 346s out = imextendedmin (im0, 2); 346s assert (size (out), size (im0)) 346s assert (class (out), "logical") 346s ***** test 346s out = imextendedmin (single (im0), 2); 346s assert (size (out), size (im0)) 346s assert (class (out), "logical") 346s ***** test 346s out = imextendedmin (uint8 (im0), 2); 346s assert (size (out), size (im0)) 346s assert (class (out), "logical") 346s ***** test 346s out = imextendedmin (uint16 (im0), 2); 346s assert (size (out), size (im0)) 346s assert (class (out), "logical") 346s ***** test 346s im = cat (3, im0, im0, im0, im0); 346s out = imextendedmin (im, 2); 346s assert (size (out), size (im)) 346s ***** test 346s im = 10 .* ones (10); 346s im(2:4, 2:4) = 7; 346s im(6:8, 6:8) = 2; 346s expected_4 = false (10); 346s expected_4(6:8, 6:8) = true; 346s expected_2 = expected_4; 346s expected_2(2:4, 2:4) = true; 346s out = imextendedmin (im, 4); 346s assert (out, expected_4, eps) 346s out = imextendedmin (0.1.*im, 0.4); 346s assert (out, expected_4, eps) 346s out = imextendedmin (im, 2); 346s assert (out, expected_2, eps) 346s ***** test 346s im2 = 10 .* ones (10); 346s im2(2:4, 2:4) = 7; 346s im2(6:9, 6:9)=2; 346s im2(5, 5)=2; 346s im2(6, 7)=10; 346s im2(7, 8)=10; 346s expected_8 = false (10); 346s expected_8(6:9, 6:9) = true; 346s expected_8(5, 5) = true; 346s expected_8(6, 7) = false; 346s expected_8(7, 8) = false; 346s expected_4 = expected_8; 346s expected_4(2:4, 2:4) = true; 346s out2 = imextendedmin (im2, 2); 346s assert (out2, expected_8, eps) 346s out2 = imextendedmin (im2, 2, 4); 346s assert (out2, expected_4, eps) 346s out2 = imextendedmin (im2, 2, 8); 346s assert (out2, expected_8, eps) 346s 21 tests, 21 passed, 0 known failure, 0 skipped 346s [inst/makelut.m] 346s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/makelut.m 346s ***** demo 346s makelut(@(x) sum(x(:))>=3, 2) 346s % Returns '1' if one or more values 346s % in the input matrix are 1 346s ***** 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 346s ***** assert(prod(makelut(@(x) x(1,1)==1, 2)==[zeros(2^3,1);ones(2^3,1)])==1); # test 2-by-2 346s ***** assert(prod(makelut(@(x) x(1,1)==1, 3)==[zeros(2^8,1);ones(2^8,1)])==1); # test 3-by-3 346s ***** assert(prod(makelut(@(x) x(1,1)==1, 4)==[zeros(2^15,1);ones(2^15,1)])==1); # test 4-by-4 347s ***** 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 347s 5 tests, 5 passed, 0 known failure, 0 skipped 347s [inst/imrotate.m] 347s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imrotate.m 347s ***** test 347s ## Verify minimal loss across six rotations that add up to 360 +/- 1 deg.: 347s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 347s angles = [ 59 60 61 ]; 347s tolerances = [ 7.4 8.5 8.6 # nearest 347s 3.5 3.1 3.5 # bilinear 347s 2.7 2.0 2.7 # bicubic 347s 2.7 1.6 2.8 ]/8; # Fourier 347s 347s # This is peaks(50) without the dependency on the plot package 347s x = y = linspace(-3,3,50); 347s [X,Y] = meshgrid(x,y); 347s x = 3*(1-X).^2.*exp(-X.^2 - (Y+1).^2) ... 347s - 10*(X/5 - X.^3 - Y.^5).*exp(-X.^2-Y.^2) ... 347s - 1/3*exp(-(X+1).^2 - Y.^2); 347s 347s x -= min(x(:)); # Fourier does not handle neg. values well 347s x = x./max(x(:)); 347s for m = 1:(length(methods)) 347s y = x; 347s for i = 1:5 347s y = imrotate(y, 60, methods{m}, "crop", 0); 347s end 347s for a = 1:(length(angles)) 347s assert(norm((x - imrotate(y, angles(a), methods{m}, "crop", 0)) 347s (10:40, 10:40)) < tolerances(m,a)); 347s endfor 347s endfor 347s ***** xtest 347s ## Verify exactness of near-90 and 90-degree rotations: 347s X = rand(99); 347s for angle = [90 180 270] 347s for da = [-0.1 0.1] 347s Y = imrotate(X, angle + da , "nearest", :, 0); 347s Z = imrotate(Y, -(angle + da), "nearest", :, 0); 347s assert(norm(X - Z) == 0); # exact zero-sum rotation 347s assert(norm(Y - imrotate(X, angle, "nearest", :, 0)) == 0); # near zero-sum 347s endfor 347s endfor 347s !!!!! known failure 347s assert (norm (X - Z) == 0) failed 347s ***** test 347s ## Verify preserved pixel density: 347s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 347s ## This test does not seem to do justice to the Fourier method...: 347s tolerances = [ 4 2.2 2.0 209 ]; 347s range = 3:9:100; 347s for m = 1:(length(methods)) 347s t = []; 347s for n = range 347s t(end + 1) = sum(imrotate(eye(n), 20, methods{m}, :, 0)(:)); 347s endfor 347s assert(t, range, tolerances(m)); 347s endfor 347s ***** test 347s a = reshape (1:18, [2 3 3]); 347s 347s a90(:,:,1) = [5 6; 3 4; 1 2]; 347s a90(:,:,2) = a90(:,:,1) + 6; 347s a90(:,:,3) = a90(:,:,2) + 6; 347s 347s a180(:,:,1) = [6 4 2; 5 3 1]; 347s a180(:,:,2) = a180(:,:,1) + 6; 347s a180(:,:,3) = a180(:,:,2) + 6; 347s 347s am90(:,:,1) = [2 1; 4 3; 6 5]; 347s am90(:,:,2) = am90(:,:,1) + 6; 347s am90(:,:,3) = am90(:,:,2) + 6; 347s 347s assert (imrotate (a, 0), a); 347s assert (imrotate (a, 90), a90); 347s assert (imrotate (a, -90), am90); 347s assert (imrotate (a, 180), a180); 347s assert (imrotate (a, -180), a180); 347s assert (imrotate (a, 270), am90); 347s assert (imrotate (a, -270), a90); 347s assert (imrotate (a, 360), a); 347s ***** test 347s # bug #53309 347s in = ones (2, 4); 347s out = [0 1 1 0; 0 1 1 0]; 347s assert (imrotate (in, 90, "nearest", "crop"), out) 347s assert (imrotate (repmat (in, [1 1 3]), 90, "nearest", "crop"), 347s repmat (out, [1 1 3])) 347s ***** test 347s ## bug #53309 347s rgbs = { 347s rand(5, 4, 3), # normal path, does interpolation 347s rand(4, 4, 3), # rows and columns, same number, simple rotdim 347s rand(4, 6, 3), # rows and columns differents, but of length even 347s }; 347s for rgb_i = 1:numel(rgbs) 347s rgb = rgbs{rgb_i}; 347s rot = imrotate (rgb, 90, "nearest", "crop"); 347s for i = 1:3 347s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 347s endfor 347s ## same check but with an integer class 347s rgb = im2uint8 (rgb); 347s rot = imrotate (rgb, 90, "nearest", "crop"); 347s assert (class (rgb), class (rot)) 347s for i = 1:3 347s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 347s endfor 347s endfor 347s 6 tests, 5 passed, 1 known failure, 0 skipped 347s [inst/histeq.m] 347s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/histeq.m 347s ***** assert (histeq ([]), []); 347s ***** assert (histeq (0), 1); 347s ***** assert (histeq (1), 1); 347s ***** assert (histeq (1.5), 1); 347s ***** assert (histeq (zeros (100, 200)), ones (100, 200)); # matrix 347s ***** xtest assert (histeq ([0 1]), [0.4920634921 1], 10^-8); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq ([0, 1]),[0.4920634921, 1],10 ^ -8) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 347s ***** xtest assert (histeq ([0 1]'), [0.4920634921 1]', 10^-8); # column array 347s !!!!! known failure 347s ASSERT errors for: assert (histeq ([0, 1]'),[0.4920634921, 1]',10 ^ -8) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 347s ***** xtest assert (histeq ([0 255]), [0.4920634921 1], 10^-8); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq ([0, 255]),[0.4920634921, 1],10 ^ -8) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 347s ***** xtest assert (histeq (uint8 ([0 1])), [ 125 190]); # uint8 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint8 ([0, 1])),[125, 190]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 347s (2) 1 190 Abs err 189 exceeds tol 0 by 2e+02 347s ***** xtest assert (histeq (uint8 ([0 255])), [ 125 255]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint8 ([0, 255])),[125, 255]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 347s (2) 1 255 Abs err 254 exceeds tol 0 by 3e+02 347s ***** xtest assert (histeq (uint16 ([0 1])), [65535 65535]); # uint16 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 1])),[65535, 65535]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 65535 Abs err 65534 exceeds tol 0 by 7e+04 347s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 347s ***** xtest assert (histeq (uint16 ([0 255])), [32247 48891]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 255])),[32247, 48891]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 347s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 347s ***** xtest assert (histeq (uint16 ([0 256])), [32247 48891]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 256])),[32247, 48891]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 347s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 347s ***** xtest assert (histeq (uint16 ([0 65535])), [32247 65535]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 65535])),[32247, 65535]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 347s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 347s ***** test assert (histeq ([0 1 1] ), [ 1/3 1 1] , 10^-8); 347s ***** test assert (histeq ([0 0 1]'), [ 2/3 2/3 1]', 10^-8); 347s ***** xtest assert (histeq ([0 1 2] ), [ 1/3 1 1] , 10^-8); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq ([0, 1, 2]),[1 / 3, 1, 1],10 ^ -8) 347s 347s Location | Observed | Expected | Reason 347s (2) 0.66667 1 Abs err 0.33333 exceeds tol 1e-08 by 0.3 347s ***** xtest assert (histeq (uint8 ([0 1 2])), [ 85 125 215]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint8 ([0, 1, 2])),[85, 125, 215]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.33333 85 Abs err 84.667 exceeds tol 0 by 8e+01 347s (2) 0.66667 125 Abs err 124.33 exceeds tol 0 by 1e+02 347s (3) 1 215 Abs err 214 exceeds tol 0 by 2e+02 347s ***** xtest assert (histeq (uint16 ([0 1 2])), [65535 65535 65535]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 1, 2])),[65535, 65535, 65535]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.33333 65535 Abs err 65535 exceeds tol 0 by 7e+04 347s (2) 0.66667 65535 Abs err 65534 exceeds tol 0 by 7e+04 347s (3) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 347s ***** xtest assert (histeq (uint16 ([0 100 200])), [43690 43690 55133]); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint16 ([0, 100, 200])),[43690, 43690, 55133]) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.33333 43690 Abs err 43690 exceeds tol 0 by 4e+04 347s (2) 0.66667 43690 Abs err 43689 exceeds tol 0 by 4e+04 347s (3) 1 55133 Abs err 55132 exceeds tol 0 by 6e+04 347s ***** xtest 347s J = [20 32 57 81 105 125 150 174 198 223 247]; 347s assert (histeq (uint8 (0:10:100)), J); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (uint8 (0:10:100)),J) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.090909 20 Abs err 19.909 exceeds tol 0 by 2e+01 347s (2) 0.18182 32 Abs err 31.818 exceeds tol 0 by 3e+01 347s (3) 0.27273 57 Abs err 56.727 exceeds tol 0 by 6e+01 347s (4) 0.36364 81 Abs err 80.636 exceeds tol 0 by 8e+01 347s (5) 0.45455 105 Abs err 104.55 exceeds tol 0 by 1e+02 347s (6) 0.54545 125 Abs err 124.45 exceeds tol 0 by 1e+02 347s (7) 0.63636 150 Abs err 149.36 exceeds tol 0 by 1e+02 347s (8) 0.72727 174 Abs err 173.27 exceeds tol 0 by 2e+02 347s (9) 0.81818 198 Abs err 197.18 exceeds tol 0 by 2e+02 347s (10) 0.90909 223 Abs err 222.09 exceeds tol 0 by 2e+02 347s (11) 1 247 Abs err 246 exceeds tol 0 by 2e+02 347s ***** xtest 347s J = [0.0793650794 347s 0.1269841270 347s 0.2222222222 347s 0.3174603175 347s 0.4126984127 347s 0.4920634921 347s 0.5873015873 347s 0.6825396825 347s 0.7777777778 347s 0.8730158730 347s 1.0000000000]; 347s assert (histeq (0:0.1:1), J', 10^-8); 347s !!!!! known failure 347s ASSERT errors for: assert (histeq (0:0.1:1),J',10 ^ -8) 347s 347s Location | Observed | Expected | Reason 347s (1) 0.090909 0.079365 Abs err 0.011544 exceeds tol 1e-08 by 0.01 347s (2) 0.18182 0.12698 Abs err 0.054834 exceeds tol 1e-08 by 0.05 347s (3) 0.27273 0.22222 Abs err 0.050505 exceeds tol 1e-08 by 0.05 347s (4) 0.36364 0.31746 Abs err 0.046176 exceeds tol 1e-08 by 0.05 347s (5) 0.45455 0.4127 Abs err 0.041847 exceeds tol 1e-08 by 0.04 347s (6) 0.54545 0.49206 Abs err 0.053391 exceeds tol 1e-08 by 0.05 347s (7) 0.63636 0.5873 Abs err 0.049062 exceeds tol 1e-08 by 0.05 347s (8) 0.72727 0.68254 Abs err 0.044733 exceeds tol 1e-08 by 0.04 347s (9) 0.81818 0.77778 Abs err 0.040404 exceeds tol 1e-08 by 0.04 347s (10) 0.90909 0.87302 Abs err 0.036075 exceeds tol 1e-08 by 0.04 347s 22 tests, 7 passed, 15 known failures, 0 skipped 347s [inst/@imref3d/contains.m] 347s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref3d/contains.m 347s ***** error id=Octave:invalid-fun-call contains (imref3d) 348s ***** error id=Octave:invalid-fun-call contains (imref3d, 1) 348s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2) 348s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2, 3, 4) 348s ***** error id=Octave:invalid-input-arg contains (imref3d, [1, 2], 3, 4) 348s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, [2, 3], 4) 348s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, 2, [3, 4]) 348s ***** error id=Octave:expected-real contains (imref3d, 1j, 2, 3) 348s ***** error id=Octave:expected-real contains (imref3d, 1, 2j, 3) 348s ***** error id=Octave:expected-real contains (imref3d, 1, 2, 3j) 348s ***** test 348s r = imref3d ([128, 128, 27]); 348s assert (contains (r, [5, 6, 6, 8], [5, 10, 10, 257], [1, 27.5, 28, 1]), logical ([1, 1, 0, 0])) 348s 11 tests, 11 passed, 0 known failure, 0 skipped 348s [inst/@imref3d/worldToSubscript.m] 348s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref3d/worldToSubscript.m 348s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d) 348s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1) 348s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2) 348s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2, 3, 4) 348s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1j, 2, 3) 348s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2j, 3) 348s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2, 3j) 348s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, [1, 2], 3, 4) 348s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, [2, 3], 4) 348s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, 2, [3, 4]) 348s ***** test 348s r = imref3d ([128, 128, 27], 2, 2, 4); 348s xW = [108, 108, 113.2, 2]; 348s yW = [92, 92, 92, -1]; 348s zW = [52, 55, 52, 0.33]; 348s [rS, cS, pS] = worldToSubscript (r, xW, yW, zW); 348s assert (rS, [46, 46, 46, NaN]) 348s assert (cS, [54, 54, 57, NaN]) 348s assert (pS, [13, 14, 13, NaN]) 348s 11 tests, 11 passed, 0 known failure, 0 skipped 348s [inst/@imref3d/intrinsicToWorld.m] 348s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref3d/intrinsicToWorld.m 348s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d) 349s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1) 349s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2) 349s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2, 3, 4) 349s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1j, 2, 3) 349s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, 2j, 3) 349s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, j, 3j) 349s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, [1, 2], 3, 4) 349s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, [2, 3], 4) 349s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, 2, [3, 4]) 349s ***** test 349s r = imref3d ([128, 128, 27], 2, 2, 4); 349s xI = [54, 71, 57, 70]; 349s yI = [46, 48, 79, 80]; 349s zI = [13, 13, 13, 13]; 349s [xW, yW, zW] = intrinsicToWorld (r, xI, yI, zI); 349s assert (xW, [108, 142, 114, 140]) 349s assert (yW, [92, 96, 158, 160]) 349s assert (zW, [52, 52, 52, 52]) 349s ***** test 349s [xW, yW, zW] = intrinsicToWorld (imref3d, -5.3, -2.8, -15.88); 349s assert (xW, -5.3) 349s assert (yW, -2.8) 349s assert (zW, -15.88, 1e-6) 349s ***** test 349s [xW, yW, zW] = intrinsicToWorld (imref3d, [1, 2; 3, 4], 349s [2, 3; 5, 9], 349s [-5, 8; 19, 42.8]); 349s assert (xW, [1, 2; 3, 4]) 349s assert (yW, [2, 3; 5, 9]) 349s assert (zW, [-5, 8; 19, 42.8]) 349s 13 tests, 13 passed, 0 known failure, 0 skipped 349s [inst/@imref3d/imref3d.m] 349s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref3d/imref3d.m 349s ***** error id=Octave:invalid-fun-call imref3d (1, 2, 3, 4, 5) 349s ***** error id=Octave:incorrect-size imref3d (42) 349s ***** error id=Octave:incorrect-size imref3d ([42]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3, 3]) 349s ***** error id=Octave:expected-integer imref3d ([4.2, 42]) 349s ***** error id=Octave:expected-positive imref3d ([0, 0]) 349s ***** error id=Octave:expected-positive imref3d ([-4, 2]) 349s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 0, 1, 2) 349s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 0, 2) 349s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 2, 0) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], j, 1, 2) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, j, 2) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, 2, j) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [j, 2], [3, 4], [5, 6]) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [j, 4], [5, 6]) 349s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [3, 4], [5, j]) 349s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [], []) 349s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [1], [2]) 349s ***** error id=Octave:expected-scalar imref3d ([4, 2, 3], [1], [], []) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [0]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4, 5], [6, 7]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5, 6, 7]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1; 2], [3, 4], [5, 6]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3; 4], [5, 6]) 349s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5; 6]) 349s ***** error id=Octave:invalid-indexing imref3d().InvalidProperty 349s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 0.5], [2.5, 3.5], [0.5, 1.5]) 349s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 1.5], [0.5, 1.5]) 349s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 3.5], [1.5, 0.5]) 349s ***** assert (imref3d ([4, 2, 3]).ImageSize, [4, 2, 3]) 349s ***** test 349s r = imref3d; 349s assert (r.XWorldLimits, [0.5, 2.5]) 349s assert (r.YWorldLimits, [0.5, 2.5]) 349s assert (r.ZWorldLimits, [0.5, 2.5]) 349s assert (r.ImageSize, [2, 2, 2]) 349s assert (r.PixelExtentInWorldX, 1) 349s assert (r.PixelExtentInWorldY, 1) 349s assert (r.PixelExtentInWorldZ, 1) 349s assert (r.ImageExtentInWorldX, 2) 349s assert (r.ImageExtentInWorldY, 2) 349s assert (r.ImageExtentInWorldZ, 2) 349s assert (r.XIntrinsicLimits, [0.5, 2.5]) 349s assert (r.YIntrinsicLimits, [0.5, 2.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 349s ***** test 349s r = imref3d ([128, 128, 27]); 349s assert (r.XWorldLimits, [0.5, 128.5]) 349s assert (r.YWorldLimits, [0.5, 128.5]) 349s assert (r.ZWorldLimits, [0.5, 27.5]) 349s assert (r.ImageSize, [128, 128, 27]) 349s assert (r.PixelExtentInWorldX, 1) 349s assert (r.PixelExtentInWorldY, 1) 349s assert (r.PixelExtentInWorldZ, 1) 349s assert (r.ImageExtentInWorldX, 128) 349s assert (r.ImageExtentInWorldY, 128) 349s assert (r.ImageExtentInWorldZ, 27) 349s assert (r.XIntrinsicLimits, [0.5, 128.5]) 349s assert (r.YIntrinsicLimits, [0.5, 128.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 349s ***** test 349s r = imref3d ([128, 128, 27], 2, 2, 4); 349s assert (r.XWorldLimits, [1, 257]) 349s assert (r.YWorldLimits, [1, 257]) 349s assert (r.ZWorldLimits, [2, 110]) 349s assert (r.ImageSize, [128, 128, 27]) 349s assert (r.PixelExtentInWorldX, 2) 349s assert (r.PixelExtentInWorldY, 2) 349s assert (r.PixelExtentInWorldZ, 4) 349s assert (r.ImageExtentInWorldX, 256) 349s assert (r.ImageExtentInWorldY, 256) 349s assert (r.ImageExtentInWorldZ, 108) 349s assert (r.XIntrinsicLimits, [0.5, 128.5]) 349s assert (r.YIntrinsicLimits, [0.5, 128.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 349s ***** test 349s r = imref3d; 349s assert (r.XWorldLimits, [0.5, 2.5]) 349s assert (r.YWorldLimits, [0.5, 2.5]) 349s assert (r.ZWorldLimits, [0.5, 2.5]) 349s assert (r.ImageSize, [2, 2, 2]) 349s assert (r.PixelExtentInWorldX, 1) 349s assert (r.PixelExtentInWorldY, 1) 349s assert (r.PixelExtentInWorldZ, 1) 349s assert (r.ImageExtentInWorldX, 2) 349s assert (r.ImageExtentInWorldY, 2) 349s assert (r.ImageExtentInWorldZ, 2) 349s assert (r.XIntrinsicLimits, [0.5, 2.5]) 349s assert (r.YIntrinsicLimits, [0.5, 2.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 349s r.ImageSize = [128, 128, 27]; 349s assert (r.XWorldLimits, [0.5, 2.5]) 349s assert (r.YWorldLimits, [0.5, 2.5]) 349s assert (r.ZWorldLimits, [0.5, 2.5]) 349s assert (r.ImageSize, [128, 128, 27]) 349s assert (r.PixelExtentInWorldX, 0.015625, 1e-6) 349s assert (r.PixelExtentInWorldY, 0.015625, 1e-6) 349s assert (r.PixelExtentInWorldZ, 0.074074, 1e-6) 349s assert (r.ImageExtentInWorldX, 2) 349s assert (r.ImageExtentInWorldY, 2) 349s assert (r.ImageExtentInWorldZ, 2) 349s assert (r.XIntrinsicLimits, [0.5, 128.5]) 349s assert (r.YIntrinsicLimits, [0.5, 128.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 349s ***** test 349s r = imref3d; 349s assert (r.XWorldLimits, [0.5, 2.5]) 349s assert (r.YWorldLimits, [0.5, 2.5]) 349s assert (r.ZWorldLimits, [0.5, 2.5]) 349s assert (r.ImageSize, [2, 2, 2]) 349s assert (r.PixelExtentInWorldX, 1) 349s assert (r.PixelExtentInWorldY, 1) 349s assert (r.PixelExtentInWorldZ, 1) 349s assert (r.ImageExtentInWorldX, 2) 349s assert (r.ImageExtentInWorldY, 2) 349s assert (r.ImageExtentInWorldZ, 2) 349s assert (r.XIntrinsicLimits, [0.5, 2.5]) 349s assert (r.YIntrinsicLimits, [0.5, 2.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 349s r.XWorldLimits = [-60, 13.33]; 349s r.YWorldLimits = [-900.8, -560.26]; 349s r.ZWorldLimits = [-302.48, 1500.333]; 349s assert (r.XWorldLimits, [-60, 13.33]) 349s assert (r.YWorldLimits, [-900.8, -560.26]) 349s assert (r.ZWorldLimits, [-302.48, 1500.333]) 349s assert (r.ImageSize, [2, 2, 2]) 349s assert (r.PixelExtentInWorldX, 36.6650) 349s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 349s assert (r.PixelExtentInWorldZ, 901.4065) 349s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 349s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 349s assert (r.ImageExtentInWorldZ, 1802.813, 1e-5) 349s assert (r.XIntrinsicLimits, [0.5, 2.5]) 349s assert (r.YIntrinsicLimits, [0.5, 2.5]) 349s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 349s ***** test 349s r = imref3d; 349s fail ("r.XWorldLimits = []", "") 349s fail ("r.XWorldLimits = [1]", "") 349s fail ("r.XWorldLimits = [j]", "") 349s fail ("r.XWorldLimits = [1; 2]", "") 349s fail ("r.YWorldLimits = []", "") 349s fail ("r.YWorldLimits = [1]", "") 349s fail ("r.YWorldLimits = [j]", "") 349s fail ("r.YWorldLimits = [1; 2]", "") 349s fail ("r.ZWorldLimits = []", "") 349s fail ("r.ZWorldLimits = [1]", "") 349s fail ("r.ZWorldLimits = [j]", "") 349s fail ("r.ZWorldLimits = [1; 2]", "") 349s 37 tests, 37 passed, 0 known failure, 0 skipped 349s [inst/@imref3d/worldToIntrinsic.m] 349s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref3d/worldToIntrinsic.m 349s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d) 349s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2) 349s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2, 3, 4) 349s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1j, 2, 3) 349s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2j, 3) 349s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2, 3j) 349s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, [1, 2], 3, 4) 349s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, [2, 3], 4) 349s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, 2, [3, 4]) 349s ***** test 349s r = imref3d ([128, 128, 27], 2, 2, 4); 349s xW = [108, 108, 108.2, 2]; 349s yW = [92, 92, 92, -1]; 349s zW = [52, 55, 52, 0.33]; 349s [xI, yI, zI] = worldToIntrinsic (r, xW, yW, zW); 349s assert (xI, [54, 54, 54.1, 1], 1e-6) 349s assert (yI, [46, 46, 46, -0.5], 1e-6) 349s assert (zI, [13, 13.75, 13, 0.0825], 1e-6) 349s 10 tests, 10 passed, 0 known failure, 0 skipped 349s [inst/imtranslate.m] 349s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imtranslate.m 349s ***** test 349s obs = imtranslate (ones (5, 5), 2, 1, "crop"); 349s exp = zeros (5, 5); 349s exp(1:4, 3:5) = 1; 349s assert (obs, exp, eps * 10) 349s 349s obs = imtranslate (ones (5, 5), -2, -1, "crop"); 349s exp = zeros (5, 5); 349s exp(2:5, 1:3) = 1; 349s assert (obs, exp, eps * 10) 349s 1 test, 1 passed, 0 known failure, 0 skipped 349s [inst/bwperim.m] 349s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwperim.m 349s ***** test 349s in = [ 1 1 1 1 0 1 1 0 1 1 349s 1 1 0 1 1 1 1 1 1 0 349s 1 1 1 0 1 1 1 1 1 1 349s 1 1 1 1 0 1 1 1 0 1 349s 1 1 1 0 1 1 1 1 1 0 349s 1 1 1 1 1 1 0 1 0 1 349s 1 1 1 1 1 1 1 1 1 0 349s 1 1 1 1 1 1 1 1 1 1 349s 1 1 1 1 1 1 0 0 1 1 349s 1 1 1 1 0 1 0 1 1 0]; 349s 349s out = [1 1 1 1 0 1 1 0 1 1 349s 1 1 0 1 1 0 0 1 1 0 349s 1 0 1 0 1 0 0 0 1 1 349s 1 0 0 1 0 1 0 1 0 1 349s 1 0 1 0 1 0 1 0 1 0 349s 1 0 0 1 0 1 0 1 0 1 349s 1 0 0 0 0 0 1 0 1 0 349s 1 0 0 0 0 0 1 1 0 1 349s 1 0 0 0 1 1 0 0 1 1 349s 1 1 1 1 0 1 0 1 1 0]; 349s assert (bwperim (in), logical (out)) 349s assert (bwperim (in, 4), logical (out)) 349s 349s out = [1 1 1 1 0 1 1 0 1 1 349s 1 1 0 1 1 1 1 1 1 0 349s 1 1 1 0 1 1 0 1 1 1 349s 1 0 1 1 0 1 0 1 0 1 349s 1 0 1 0 1 1 1 1 1 0 349s 1 0 1 1 1 1 0 1 0 1 349s 1 0 0 0 0 1 1 1 1 0 349s 1 0 0 0 0 1 1 1 1 1 349s 1 0 0 1 1 1 0 0 1 1 349s 1 1 1 1 0 1 0 1 1 0]; 349s assert (bwperim (in, 8), logical (out)) 349s 349s out = [1 1 1 1 0 1 1 0 1 1 349s 1 0 0 0 0 1 0 0 1 0 349s 1 0 0 0 0 0 0 1 0 1 349s 1 0 1 0 0 0 0 0 0 1 349s 1 0 0 0 0 1 0 1 0 0 349s 1 0 0 0 1 0 0 0 0 1 349s 1 0 0 0 0 0 0 1 0 0 349s 1 0 0 0 0 1 1 0 0 1 349s 1 0 0 1 0 1 0 0 1 1 349s 1 1 1 1 0 1 0 1 1 0]; 349s assert (bwperim (in, [1 0 0; 0 1 0; 0 0 1]), logical (out)) 350s ***** test 350s in = [ 0 0 0 0 0 0 0 350s 0 0 5 0 0 1 9 350s 0 Inf 9 7 0 0 0 350s 0 1.5 5 7 1 0 0 350s 0 0.5 -1 89 i 0 0 350s 0 4 10 15 1 0 0 350s 0 0 0 0 0 0 0]; 350s out = [0 0 0 0 0 0 0 350s 0 0 1 0 0 1 1 350s 0 1 0 1 0 0 0 350s 0 1 0 0 1 0 0 350s 0 1 0 0 1 0 0 350s 0 1 1 1 1 0 0 350s 0 0 0 0 0 0 0]; 350s assert (bwperim (in), logical (out)) 350s ***** test 350s in = reshape (magic(16), [8 8 4]) > 50; 350s out(:,:,1) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 1 1 1 1 0 1 350s 1 1 0 1 1 1 1 1 350s 1 1 1 1 1 1 1 1 350s 1 1 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,2) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 0 1 1 0 1 350s 0 1 0 0 0 1 0 1 350s 1 0 1 0 0 0 1 1 350s 1 0 0 1 0 1 0 1 350s 1 0 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,3) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 0 1 1 0 1 350s 0 1 0 0 0 1 0 1 350s 1 0 0 0 0 0 1 1 350s 1 0 0 1 0 1 0 1 350s 1 0 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,4) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 1 1 1 1 0 1 350s 1 1 1 1 1 1 1 1 350s 1 1 1 1 1 1 1 0 350s 1 1 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s assert (bwperim (in), logical (out)) 350s 350s out(:,:,1) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 1 1 1 1 0 1 350s 1 1 0 1 1 1 1 1 350s 1 1 1 1 1 1 1 1 350s 1 1 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,2) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 1 0 0 1 0 1 350s 1 1 1 1 0 1 1 1 350s 1 0 1 1 1 1 1 1 350s 1 0 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,3) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 0 0 0 1 0 1 350s 1 1 0 0 0 1 1 1 350s 1 0 1 1 1 1 1 1 350s 1 0 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s out(:,:,4) = [ 350s 1 1 0 1 0 1 1 1 350s 0 1 1 1 1 1 0 1 350s 0 1 1 1 1 1 0 1 350s 1 1 1 1 1 1 1 1 350s 1 1 1 1 1 1 1 0 350s 1 1 1 0 1 0 1 1 350s 1 1 1 0 1 0 1 1 350s 1 0 1 1 1 1 1 0]; 350s assert (bwperim (in, 18), logical (out)) 350s ***** error bwperim ("text") 350s ***** error bwperim (rand (10), 5) 350s ***** error bwperim (rand (10), "text") 350s ***** test 350s a = false (5); 350s a(1:4,2:4) = true; 350s 350s p = false (5); 350s p(1:4,[2 4]) = true; 350s assert (bwperim (a, [0 0 0; 1 1 1; 0 0 0]), p) 350s ***** test 350s a = false (8, 8, 5); 350s a(4:5,4:5,2:4) = true; 350s a(2:7,2:7,3) = true; 350s assert (bwperim (a, 26), a) 350s 350s ## It is easy to forget that is correct 350s b = a; 350s b(4:5, 4:5, 3) = false; 350s assert (bwperim (a), b) 350s 350s c = a; 350s c(3:6,3:6,3) = false; 350s assert (bwperim (a, 4), c) 350s ***** test 350s conn_self = logical ([0 0 0; 0 1 0; 0 0 0]); 350s assert (bwperim (true), true) 350s assert (bwperim (true, conn_self), false) 350s assert (bwperim (true (1, 6)), true (1, 6)) 350s assert (bwperim (true (1, 6), conn_self), false (1, 6)) 350s assert (bwperim (true (6, 1)), true (6, 1)) 350s 350s bw_3d = true (1, 1, 6); 350s assert (bwperim (bw_3d), bw_3d) 350s assert (bwperim (bw_3d, conn_self), false (1, 1, 6)) 350s assert (bwperim (bw_3d, true (3)), bw_3d) 350s 350s perim_3d = bw_3d; 350s perim_3d(1, 1, 2:end-1) = false; 350s conn_3d = false (3, 3, 3); 350s conn_3d(2, 2, :) = true; 350s assert (bwperim (true (1, 1, 6), conn_3d), perim_3d) 350s 9 tests, 9 passed, 0 known failure, 0 skipped 350s [inst/qtsetblk.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/qtsetblk.m 350s ***** demo 350s J=qtsetblk(eye(4),qtdecomp(eye(4)),2,ones(2,2,2)) 350s % Sets upper-right and lower-left blocks of 2*2 zeros to ones 350s ***** shared A, S 350s A=[ 1, 4, 2, 5,54,55,61,62; 350s 3, 6, 3, 1,58,53,67,65; 350s 3, 6, 3, 1,58,53,67,65; 350s 3, 6, 3, 1,58,53,67,65; 350s 23,42,42,42,99,99,99,99; 350s 27,42,42,42,99,99,99,99; 350s 23,22,26,25,99,99,99,99; 350s 22,22,24,22,99,99,99,99]; 350s S = qtdecomp (A, 10); 350s ***** test 350s R=A; 350s vals=zeros(4,4,2); 350s vals(:,:,1)=reshape([1:16],4,4); 350s vals(:,:,2)=reshape([21:36],4,4); 350s R(1:4,1:4)=reshape([1:16],4,4); 350s R(5:8,5:8)=reshape([21:36],4,4); 350s assert(qtsetblk(A,S,4,vals),R); 350s ***** test 350s R=A; 350s R(1:4,5:8)=1; 350s R(7:8,1:4)=1; 350s R(5:6,3:4)=1; 350s assert(qtsetblk(A,S,2,ones(2,2,7)),R); 350s ***** test 350s R=A; 350s R(5:6,1:2)=10; 350s assert(qtsetblk(A,S,1,ones(1,1,4)*10),R); 350s 3 tests, 3 passed, 0 known failure, 0 skipped 350s [inst/imgradient.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imgradient.m 350s ***** test 350s A = [0 1 0 350s 1 1 1 350s 0 1 0]; 350s 350s [gMag, gDir] = imgradient (A); 350s assert (gMag,[sqrt(18) 4 sqrt(18); 4 0 4; sqrt(18),4,sqrt(18)]); 350s assert (gDir,[-45 -90 -135; -0 -0 -180; 45 90 135]); 350s 350s ## the following just test if passing gx and gy separately gets 350s ## us the same as the image and method though imgradient 350s [gxSobel, gySobel] = imgradientxy (A, "Sobel"); 350s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 350s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 350s [gxId, gyId] = imgradientxy (A, "IntermediateDifference"); 350s 350s assert (imgradient (A), 350s imgradient (gxSobel, gySobel)); 350s assert (imgradient (A, "Sobel"), 350s imgradient (gxSobel, gySobel)); 350s assert (imgradient (A, "Prewitt"), 350s imgradient(gxPrewitt, gyPrewitt)); 350s assert (imgradient (A, "CentralDifference"), 350s imgradient (gxCd, gyCd)); 350s assert (imgradient (A, "IntermediateDifference"), 350s imgradient (gxId, gyId)); 350s 1 test, 1 passed, 0 known failure, 0 skipped 350s [inst/imregionalmax.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imregionalmax.m 350s ***** test 350s a = [ 350s 7 3 9 3 10 3 350s 4 2 3 10 1 3 350s 1 4 6 9 4 10 350s 8 7 9 3 4 8 350s 5 9 3 3 8 9 350s 3 6 9 4 1 10]; 350s 350s a4 = [ 350s 1 0 1 0 1 0 350s 0 0 0 1 0 0 350s 0 0 0 0 0 1 350s 1 0 1 0 0 0 350s 0 1 0 0 0 0 350s 0 0 1 0 0 1]; 350s assert (imregionalmax (a, 4), logical (a4)) 350s a8 = [ 350s 1 0 0 0 1 0 350s 0 0 0 1 0 0 350s 0 0 0 0 0 1 350s 0 0 0 0 0 0 350s 0 0 0 0 0 0 350s 0 0 0 0 0 1]; 350s assert (imregionalmax (a, 8), logical (a8)) 350s assert (imregionalmax (a), logical (a8)) 350s ***** test 350s ## test float input images 350s im0 = peaks (); 350s im1 = im0 ./ 100; 350s max_pos_expected = [1000; 1214; 1691; 2353]; 350s max0 = imregionalmax (im0); 350s max0_pos = find (max0); 350s max1 = imregionalmax (im1); 350s assert (max1, max0) 350s assert (max0_pos, max_pos_expected) 350s 2 tests, 2 passed, 0 known failure, 0 skipped 350s [inst/montage.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/montage.m 350s ***** function cdata = montage_cdata (varargin) 350s h = figure (); 350s set (h, "visible", "off"); 350s mh = montage (varargin{:}); 350s cdata = get (mh, "cdata"); 350s close (h); 350s ***** endfunction 350s ***** test 350s im = uint8 (ones (2, 2, 1, 5)) .* reshape ([1 2 3 4 5], [1 1 1 5]); 350s cdata = montage_cdata (im); 350s expected = uint8 ([ 350s 1 1 2 2 3 3 350s 1 1 2 2 3 3 350s 4 4 5 5 0 0 350s 4 4 5 5 0 0 350s ]); 350s assert (cdata, expected) 350s warning: using the gnuplot graphics toolkit is discouraged 350s 350s The gnuplot graphics toolkit is not actively maintained and has a number 350s of limitations that are unlikely to be fixed. Communication with gnuplot 350s uses a one-directional pipe and limited information is passed back to the 350s Octave interpreter so most changes made interactively in the plot window 350s will not be reflected in the graphics properties managed by Octave. For 350s example, if the plot window is closed with a mouse click, Octave will not 350s be notified and will not update its internal list of open figure windows. 350s The qt toolkit is recommended instead. 350s ***** test 350s im = uint8 (ones (2, 4, 1, 6)) .* reshape ([1 2 3 4 5 6], [1 1 1 6]); 350s cdata = montage_cdata (im); 350s expected = uint8 ([ 350s 1 1 1 1 2 2 2 2 350s 1 1 1 1 2 2 2 2 350s 3 3 3 3 4 4 4 4 350s 3 3 3 3 4 4 4 4 350s 5 5 5 5 6 6 6 6 350s 5 5 5 5 6 6 6 6 350s ]); 350s assert (cdata, expected) 350s 2 tests, 2 passed, 0 known failure, 0 skipped 350s [inst/blockproc.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/blockproc.m 350s ***** demo 350s blockproc (eye (6), [2, 2], @(x) any (x(:))) 350s # Returns a 3-by-3 diagonal 350s ***** assert (blockproc (eye (6), [2, 2], "sum"), 350s blockproc (eye (6), [2, 2], @sum)) 350s ***** assert (blockproc (eye (6), [2, 2], "sum"), 350s blockproc (eye (6), [2, 2], @(x) sum (x))) 350s ***** assert (blockproc (eye (6), [1,2], @sum), 350s kron (eye (3), [1; 1])) 350s ***** assert (blockproc (eye (6), [2,2], @(x) any (x(:))), 350s eye (3) != 0) 350s ***** assert (blockproc (eye (6), [1,2],[1,1], @(x) sum (x(:))), 350s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 350s ***** assert (blockproc (eye (6), "indexed", [1, 2], [1, 1], @(x) sum (x(:))), 350s [8,5,6; 6,2,3; 5,3,4; 4,3,5; 3,2,6; 6,5,8]) 350s ***** assert (blockproc (eye (6), [2,3],[4,3], @(x) sum (x(:))), 350s ones (3, 2) * 6) 350s ***** assert (blockproc (eye (6), [2, 2], @(x) int8 (sum (x(:)))), 350s eye (3, "int8") * 2) 350s ***** assert (blockproc (uint8 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 350s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 350s ***** assert (blockproc (uint8 (eye (6)), "indexed", [1,2], [1,1], @(x) sum (x(:))), 350s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 350s ***** assert (blockproc (uint16 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 350s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 350s ***** assert (blockproc (uint16 (eye (6)), "indexed", [1,2], [1,1], 350s @(x) sum (x(:))), 350s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 350s ***** assert (blockproc (eye (6), [2, 2], "sum"), 350s blockproc (eye (6), [2, 2], inline ("sum (x)", "x"))) 350s warning: inline is obsolete; use anonymous functions instead 350s 13 tests, 13 passed, 0 known failure, 0 skipped 350s [inst/iptnum2ordinal.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/iptnum2ordinal.m 350s ***** assert (strcmp (iptnum2ordinal (1), 'first')); # simple works 350s ***** assert (strcmp (iptnum2ordinal (21), '21st')); # after 20, goes stupid 350s ***** assert (strcmp (iptnum2ordinal (100), '100th')); # use th correctly 350s ***** fail ("iptnum2ordinal (inf)"); # must be real 350s ***** fail ("iptnum2ordinal (0)"); # must be positive 350s ***** fail ("iptnum2ordinal (-1)"); # must be positive 350s ***** fail ("iptnum2ordinal (3.4)"); # must be integer 350s 7 tests, 7 passed, 0 known failure, 0 skipped 350s [inst/isbw.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/isbw.m 350s ***** shared img 350s img = round (rand (10)); 350s ***** assert (isbw (img, "non-logical"), true); 350s ***** assert (isbw (img, "logical"), false); 350s ***** assert (isbw (logical (img), "logical"), true); 350s ***** assert (isbw (logical (img), "non-logical"), true); 350s ***** test 350s img(1, 1) = 2; 350s assert (isbw (img, "non-logical"), false); 350s ***** test 350s a( 1, 1) = 1; 350s a(50, 50) = 2; 350s assert (isbw (a, "non-logical"), false); 350s ***** assert (isbw (rand (5, 5, 1, 4) > 0.5), true) 350s ***** assert (isbw (rand (5, 5, 3, 4) > 0.5), false) 350s ***** assert (isbw (rand (5, 5, 3) > 0.5), false) 350s ***** assert (isbw (rand (5, 5, 1, 3, 4) > 0.5), false) 350s ***** assert (isbw (randi ([0 1], 5, 5, 1, 4), "non-logical"), true) 350s ***** assert (isbw (randi ([0 1], 5, 5, 3, 4), "non-logical"), false) 350s ***** assert (isbw (randi ([0 1], 5, 5, 3), "non-logical"), false) 350s ***** assert (isbw (randi ([0 1], 5, 5, 1, 3, 4), "non-logical"), false) 350s ***** assert (isbw (single ([0 0 1]), "non-logical"), true) 350s ***** assert (isbw ([0 NaN 1], "non-logical"), false) 350s 16 tests, 16 passed, 0 known failure, 0 skipped 350s [inst/imdivide.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imdivide.m 350s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50])), uint8 ([ 12 5])); # default to first class 350s ***** assert (imdivide (uint8 ([56 255]), uint8 ([ 0 0])), uint8 ([255 255])); # dividing by zero works (tested in matlab) 350s ***** assert (imdivide (uint8 ([23 250]), 2), uint8 ([ 12 125])); # works subtracting a scalar 350s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50]), "uint16"), uint16 ([ 12 5])); # defining output class works (not in matlab) 350s ***** assert (imdivide (logical ([1 1 0 0]), logical ([1 0 1 0])), double ([1 Inf 0 NaN])); # dividing logical matrix (tested in matlab) 350s ***** fail ("imdivide (uint8 ([23 250]), uint16 ([23 250]))"); # input needs to have same class 350s 6 tests, 6 passed, 0 known failure, 0 skipped 350s [inst/rgb2lab.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/rgb2lab.m 350s ***** assert (rgb2lab ([0 0 0]), [0, 0, 0], 1e-2) 350s ***** assert (rgb2lab ([1 0 0]), [53.24, 80.09, 67.20], 1e-2) 350s ***** assert (rgb2lab ([1 1 0]), [97.14, -21.55, 94.48], 1e-2) 350s ***** assert (rgb2lab ([0 1 0]), [87.74, -86.18, 83.18], 1e-2) 350s ***** assert (rgb2lab ([0 1 1]), [91.11, -48.09, -14.13], 1e-2) 350s ***** assert (rgb2lab ([0 0 1]), [32.30, 79.19, -107.86], 1e-2) 350s ***** assert (rgb2lab ([1 0 1]), [60.32, 98.24, -60.83], 1e-2) 350s ***** assert (rgb2lab ([1 1 1]), [100, 0.00, 0.00], 1e-2) 350s ***** assert (rgb2lab ([0.5 0.5 0.5]), [53.39, 0.00, 0.00], 1e-2) 350s ***** assert (rgb2lab ([0.75 0 0]), [39.77, 64.51, 54.13], 1e-2) 350s ***** assert (rgb2lab ([0.5 0 0]), [25.42, 47.91, 37.91], 1e-2) 350s ***** assert (rgb2lab ([0.25 0 0]), [9.66, 29.68, 15.24], 1e-2) 350s ***** assert (rgb2lab ([1 0.5 0.5]), [68.11, 48.39, 22.83], 1e-2) 350s ***** assert (rgb2lab ([1.5 1 1]), [111.47, 43.42, 17.98], 1e-2) 350s ***** test 350s rgb_map = rand (64, 3); 350s assert (lab2rgb (rgb2lab (rgb_map)), rgb_map, 2e-5); 350s ***** test 350s rgb_img = rand (64, 64, 3); 350s assert (lab2rgb (rgb2lab (rgb_img)), rgb_img, 2e-5); 350s ***** assert (rgb2lab (sparse ([0 0 1])), sparse ([32.30, 79.19, -107.86]), 1e-2) 350s ***** assert (rgb2lab (sparse ([0 1 1])), sparse ([91.11, -48.09, -14.13]), 1e-2) 350s ***** assert (rgb2lab (sparse ([1 1 1])), sparse ([100, 0.00, 0.00]), 1e-2) 350s ***** assert (rgb2lab (uint8([255 255 255])), [100, 0.00, 0.00], 1e-2) 350s ***** assert (class (rgb2lab (single([1 1 1]))), 'single') 350s ***** error rgb2lab () 350s ***** error rgb2lab (1,2) 350s ***** error rgb2lab ({1}) 350s ***** error rgb2lab (ones (2,2)) 350s ***** test 350s rgb = rand (16, 16, 3, 5); 350s lab = zeros (size (rgb)); 350s for i = 1:5 350s lab(:,:,:,i) = rgb2lab (rgb(:,:,:,i)); 350s endfor 350s assert (rgb2lab (rgb), lab) 350s 26 tests, 26 passed, 0 known failure, 0 skipped 350s [inst/roicolor.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/roicolor.m 350s ***** demo 350s roicolor([1:10],2,4); 350s % Returns '1' where input values are between 2 and 4 (both included). 350s ***** assert(roicolor([1:10],2,4),logical([0,1,1,1,zeros(1,6)])); 350s ***** assert(roicolor([1,2;3,4],3,3),logical([0,0;1,0])); 350s ***** assert(roicolor([1,2;3,4],[1,4]),logical([1,0;0,1])); 350s 3 tests, 3 passed, 0 known failure, 0 skipped 350s [inst/hough.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/hough.m 350s ***** shared BW0, BW1, BW2, BWx, BWy 350s 350s BW0 = false (5); 350s BW0(2,2) = true; 350s 350s BW1 = zeros (100, 100); 350s BW1(1,1) = 1; 350s BW1(100,100) = 1; 350s BW1(1,100) = 1; 350s BW1(100, 1) = 1; 350s BW1(50,50) = 1; 350s 350s n = 100; 350s BW2 = false (n); 350s a = 50; # line starts at left side at row a 350s b = 3; # slope of line is 1:b 350s for column = 1:n 350s if (rem (column, b) == 0) 350s row = a - column/b; 350s BW2(row, column) = true; 350s endif 350s endfor 350s 350s BWx = false (10); 350s BWx(:,5) = true; 350s 350s BWy = false (10); 350s BWy(5,:) = true; 350s ***** test 350s [H, T, R] = hough (BW1); 350s assert (size (H), [283 180]); 350s ***** test 350s [H, T, R] = hough (BW1, "Theta", [-90 0 45 79]); 350s assert (size (H), [283 4]); 350s ***** test 350s [H, T, R] = hough (BW1, "ThetaResolution", 0.5); 350s assert (size (H), [283 360]); 350s ***** error hough ("foo") 350s ***** test 350s I = [0 0 1 0; 1 1 1 1; 0 0 1 1; 0 0 1 0]; 350s I2 = I; 350s for v = [0.7 0.2 5] 350s I2(1,3) = v; 350s assert (hough (I2), hough (I)) 350s endfor 350s ***** error 350s [H, T, R] = hough (BW0, "Theta"); 350s ***** error 350s [H, T, R] = hough (BW0, "Theta", ones (10)); 350s ***** error 350s [H, T, R] = hough (BW0, "Theta", [5 -i 7]); 350s ***** error 350s [H, T, R] = hough (BW0, "RhoResolution", 0.5); 350s ***** test 350s [Hd, Td, Rd] = hough (BW0); 350s [H1, T1, R1] = hough (BW0, "RhoResolution", 1); 350s assert (Hd, H1) 350s assert (Td, T1) 350s assert (Rd, R1) 350s ***** test 350s [H, theta, rho] = hough (BW2); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 180]); 350s assert (max_row, 188); 350s assert (max_column, 163); 350s assert (theta_max, 72); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "Theta", [65:1:75]); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 11]); 350s assert (max_row, 188); 350s assert (max_column, 8); 350s assert (theta_max, 72); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "Theta", [-90:0.5:89.5]); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 360]); 350s assert (max_row, 188); 350s assert (max_column, 324); 350s assert (theta_max, 71.5); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "ThetaResolution", 0.5); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 360]); 350s assert (max_row, 188); 350s assert (max_column, 324); 350s assert (theta_max, 71.5); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BWx); 350s H_max = max (H(:)); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 10); 350s assert (max_column, 88); 350s assert (theta_max, -3); 350s assert (rho_max, 4); 350s ***** test 350s [H, theta, rho] = hough (BWx); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s assert (H_size, [27 180]); 350s assert (max_row, 18); 350s ***** test 350s [H, theta, rho] = hough (BWy); 350s H_max = max (H(:)); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 10); 350s assert (max_column, 1); 350s assert (theta_max, -90); 350s assert (rho_max, -4); 350s ***** test 350s [H, theta, rho] = hough (BWy); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s assert (H_size, [27 180]); 350s assert (max_row, 10); 350s ***** demo 350s BW = zeros (100, 150); 350s BW(30,:) = 1; 350s BW(:, 65) = 1; 350s BW(35:45, 35:50) = 1; 350s for i = 1:90 350s BW(i,i) = 1; 350s endfor 350s BW = imnoise (BW, "salt & pepper"); 350s figure (); 350s imshow (BW); 350s title ("BW"); 350s [H, theta, rho] = hough (BW); 350s H /= max (H(:)); 350s figure (); 350s imshow (H, "XData", theta, "YData", rho); 350s title ("hough transform of BW"); 350s axis on; 350s xlabel ("angle \\theta [degrees]"); 350s ylabel ("distance \\rho to origin [pixels]"); 350s 18 tests, 18 passed, 0 known failure, 0 skipped 350s [inst/entropy.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/entropy.m 350s ***** assert (entropy ([0 1]), 1) 350s ***** assert (entropy (uint8 ([0 1])), 1) 350s ***** assert (entropy ([0 0]), 0) 350s ***** assert (entropy ([0]), 0) 350s ***** assert (entropy ([1]), 0) 350s ***** assert (entropy ([0 .5; 2 0]), 1.5) 350s ***** assert (entropy (repmat ([0 .5; 2 0], 1, 1, 3)), 350s entropy ([0 .5; 2 0])) 350s ***** test 350s A = zeros (3,3); 350s B = ones (3,3); 350s C = [1 1 1; 2 2 2; 3 3 3]; 350s D = C'; 350s E = ones (3,3); 350s E(2,2)=2; 350s F = 3 .* ones (3,3); 350s F(2,2)=1; 350s G = [-1 2 7; -5 2 8; -7 pi 9]; 350s H = [5 2 8; 1 -3 1; 5 1 0]; 350s pG = [1 2] ./ 3; 350s G_out = -sum (pG.*log2 (pG)); 350s pH = [2 7] ./ 9; 350s H_out = -sum (pH.*log2 (pH)); 350s assert (entropy (A), 0, eps); 350s assert (entropy (B), 0, eps); 350s assert (entropy (C), 0, eps); 350s assert (entropy (D), 0, eps); 350s assert (entropy (E), 0, eps); 350s assert (entropy (F), 0, eps); 350s assert (entropy (G), G_out, eps); 350s assert (entropy (H), H_out, eps); 350s ***** test 350s A = uint8 (zeros (3,3)); 350s B = uint8 (ones (3,3)); 350s C = uint8 ([1 1 1; 2 2 2; 3 3 3]); 350s D = C'; 350s E = uint8 (ones (3,3)); 350s E(2,2)=2; 350s F = 3 .* uint8 (ones (3,3)); 350s F(2,2)=1; 350s G = uint8 ([0 2 7; 0 2 8; 0 3 9]); 350s H = uint8 ([5 2 8; 1 0 1; 5 1 0]); 350s pC = [1 1 1] ./ 3; 350s C_out = -sum (pC.*log2 (pC)); 350s D_out = C_out; 350s pE = [8 1] ./ 9; 350s E_out = -sum (pE.*log2 (pE)); 350s F_out = E_out; 350s pG = [3 2 1 1 1 1] ./ 9; 350s G_out = -sum (pG.*log2 (pG)); 350s pH = [2 3 1 2 1] ./ 9; 350s H_out = -sum (pH.*log2 (pH)); 350s assert (entropy (A), 0); 350s assert (entropy (B), 0); 350s assert (entropy (C), C_out, eps); 350s assert (entropy (D), D_out, eps); 350s assert (entropy (E), E_out, eps); 350s assert (entropy (F), F_out, eps); 350s assert (entropy (G), G_out, eps); 350s assert (entropy (H), H_out, eps); 350s ***** test 350s L1 = false (3,3); 350s L1(2,2)=true; 350s L2 = true (3,3); 350s L2(2,2)=false; 350s L3 = logical ([0 1 1; 0 1 1; 0 0 1]); 350s p12 = [1 8] ./ 9; 350s out12 = -sum (p12.*log2 (p12)); 350s p3 = [5 4] ./9; 350s out3 = -sum (p3.*log2 (p3)); 350s assert (entropy (L1), out12, eps); 350s assert (entropy (L2), out12, eps); 350s assert (entropy (L3), out3, eps); 350s 10 tests, 10 passed, 0 known failure, 0 skipped 350s [inst/integralImage3.m] 350s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/integralImage3.m 350s ***** test 350s assert (integralImage3 (zeros (4)), zeros (5, 5, 2)); 350s ***** test 350s J_res = zeros (2, 2, 2); 350s J_res(2, 2, 2) = 10; 350s assert (integralImage3 (10), J_res); 350s ***** test 350s J = integralImage3 (10); 350s assert (class (J), "double"); 350s J = integralImage3 (uint8 (10)); 350s assert (class (J), "double"); 350s ***** test 350s I = [1, 2; 3, 4]; 350s J = integralImage3 (I); 350s J_res = zeros (3, 3, 2); 350s J_res(2:3, 2:3, 2) = [1 3; 4 10]; 350s assert (J, J_res) 350s ***** test 350s I1 = [1, 2; 3, 4]; 350s I2 = [5, 6; 7, 8]; 350s I3 = [9, 10; 11, 12]; 350s I = cat (3, I1, I2, I3); 350s J = integralImage3 (I); 350s J2 = [0 0 0; 0 1 3; 0 4 10]; 350s J3 = [0 0 0; 0 6 14; 0 16 36]; 350s J4 = [0 0 0; 0 15 33; 0 36 78]; 350s J_res = cat (3, zeros (3), J2, J3, J4); 350s assert (J, J_res) 350s ***** test 350s I = magic (5); 350s J = integralImage3 (I); 350s J_res = zeros (6, 6, 2); 350s J_res(:, :, 2) = [0 0 0 0 0 0; 350s 0 17 41 42 50 65; 350s 0 40 69 77 99 130; 350s 0 44 79 100 142 195; 350s 0 54 101 141 204 260; 350s 0 65 130 195 260 325]; 350s assert (J, J_res) 350s ***** # test of 3d input image: 350s ***** test 350s K = magic (8); 350s K = reshape (K, [4 4 4]); 350s L = integralImage3 (K); 350s L1_ML = zeros (5); 350s L2_ML = [0 0 0 0 0; 350s 0 64 96 98 132; 350s 0 73 146 203 260; 350s 0 90 212 316 388; 350s 0 130 260 390 520]; 350s L3_ML = [0 0 0 0 0; 350s 0 67 134 197 260; 350s 0 130 260 390 520; 350s 0 193 386 583 780; 350s 0 260 520 780 1040]; 350s L4_ML = [0 0 0 0 0; 350s 0 127 222 291 392; 350s 0 203 406 593 780; 350s 0 287 606 903 1168; 350s 0 390 780 1170 1560]; 350s L5_ML = [0 0 0 0 0; 350s 0 134 268 394 520; 350s 0 260 520 780 1040; 350s 0 386 772 1166 1560; 350s 0 520 1040 1560 2080]; 350s L_ML = cat (3, L1_ML, L2_ML, L3_ML, L4_ML, L5_ML); 350s assert (L, L_ML) 350s ***** # test of 2d input image: 350s ***** test 350s X = ones (3); 350s Y = integralImage3 (X); 350s Y_ML = zeros (4, 4, 2); 350s Y_ML(:, :, 2) = [0 0 0 0; 0 1 2 3; 0 2 4 6; 0 3 6 9]; 350s assert(Y, Y_ML); 350s ***** error id=Octave:invalid-fun-call 350s integralImage3 (); 351s ***** error id=Octave:invalid-fun-call 351s integralImage3 (zeros (3), zeros (3)); 351s ***** error 351s integralImage3 ("abcd"); 351s ***** error 351s integralImage3 (1+i); 351s ***** error 351s integralImage3 (reshape (1:81, 3, 3, 3, 3)); 351s 13 tests, 13 passed, 0 known failure, 0 skipped 351s [inst/otf2psf.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/otf2psf.m 351s ***** function otf = rand_otf (varargin) 351s otf = complex (rand (varargin{:}), rand (varargin{:})); 351s ***** endfunction 351s ***** test 351s otf = rand_otf (6, 1); 351s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 351s ***** test 351s otf = rand_otf (6, 6); 351s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 351s ***** test 351s otf = rand_otf (6, 6, 6); 351s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 3]), eps); 351s ***** test 351s otf = rand_otf (7, 1); 351s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 351s ***** test 351s otf = rand_otf (7, 7); 351s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 351s ***** test 351s otf = rand_otf (6, 7, 8); 351s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 4]), eps); 351s ***** test 351s otf = rand_otf (7, 1); 351s ppsf = circshift (ifft (otf), 3); 351s assert (otf2psf (otf, 6), ppsf(1:6), eps); 351s assert (otf2psf (otf, [6 1]), ppsf(1:6), eps); 351s ***** test 351s otf = rand_otf (7, 7); 351s ppsf = circshift (ifft2 (otf), [3 3]); 351s assert (otf2psf (otf, [6 1]), ppsf(1:6,4), eps); 351s ***** test 351s otf = rand_otf (6, 7); 351s ppsf = circshift (ifft2 (otf), [3 3]); 351s assert (otf2psf (otf, [6 6]), ppsf(:,1:6), eps); 351s ***** error otf2psf ("not a otf") 351s ***** error otf2psf (rand_otf (16), 18) 351s ***** error otf2psf (rand_otf (16), [14 18]) 351s ***** error otf2psf (rand_otf (16), [18 18]) 351s ***** error otf2psf (rand_otf (16, 1), 18) 351s ***** test 351s psf = fspecial ("gaussian", 16); 351s otf = psf2otf (psf); 351s assert (otf2psf (otf), psf, eps); 351s ***** xtest 351s psf = rand (16); 351s otf = psf2otf (psf); 351s assert (otf2psf (otf), psf, 4*eps); 351s ***** test 351s psf = rand (8); 351s otf = psf2otf (psf, [16 16]); 351s assert (otf2psf (otf, [8 8]), psf, 2*eps); 351s 17 tests, 17 passed, 0 known failure, 0 skipped 351s [inst/fftconv2.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/fftconv2.m 351s ***** xtest 351s a = repmat (1:10, 5); 351s b = repmat (10:-1:3, 7); 351s assert (fftconv2 (a, b), conv2 (a, b), 1.8e4*eps) 351s assert (fftconv2 (b, a), conv2 (b, a), 1.8e4*eps) 351s assert (fftconv2 (a, b, "full"), conv2 (a, b, "full"), 1.8e4*eps) 351s assert (fftconv2 (b, a, "full"), conv2 (b, a, "full"), 1.8e4*eps) 351s assert (fftconv2 (a, b, "same"), conv2 (a, b, "same"), 1.8e4*eps) 351s assert (fftconv2 (b, a, "same"), conv2 (b, a, "same"), 1.8e4*eps) 351s assert (isempty (fftconv2 (a, b, "valid"))); 351s assert (fftconv2 (b, a, "valid"), conv2 (b, a, "valid"), 1e4*eps) 351s ***** test 351s x = 1:4; 351s y = 4:-1:1; 351s a = repmat(1:10, 5); 351s assert (fftconv2 (x, y, a), conv2 (x, y, a), 1e4*eps) 351s assert (fftconv2 (x, y, a, "full"), conv2 (x, y, a, "full"), 1e4*eps) 351s assert (fftconv2 (x, y, a, "same"), conv2 (x, y, a, "same"), 1e4*eps) 351s assert (fftconv2 (x, y, a, "valid"), conv2 (x, y, a, "valid"), 1e4*eps) 351s ***** demo 351s ## Draw a cross 351s z = zeros (101, 101); 351s z(50, :) = 1; 351s z(:, 50) = 1; 351s subplot (1, 3, 1) 351s imshow (z); 351s title ("Original thin cross") 351s 351s ## Draw a sinc blob 351s b = getheight (strel ("ball", 10, 1)); 351s subplot (1, 3, 2) 351s imshow (b); 351s title ("Sync blob") 351s 351s ## Convolve the cross with the blob 351s fc = real (fftconv2 (z, b, "same")); 351s subplot (1, 3, 3) 351s imshow (fc, [min(fc(:)) max(fc(:))]) 351s title ("Convolution in the frequency domain") 351s 2 tests, 2 passed, 0 known failure, 0 skipped 351s [inst/@strel/strel.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@strel/strel.m 351s ***** test 351s shape = logical ([0 0 0 1]); 351s assert (getnhood (strel (shape)), shape); 351s assert (getnhood (strel ("arbitrary", shape)), shape); 351s 351s height = [0 0 0 3]; 351s assert (getnhood (strel ("arbitrary", shape, height)), shape); 351s assert (getheight (strel ("arbitrary", shape, height)), height); 351s ***** test 351s shape = logical ([0 0 1]); 351s height = [-2 1 3]; ## this works for matlab compatibility 351s assert (getnhood (strel ("arbitrary", shape, height)), shape); 351s assert (getheight (strel ("arbitrary", shape, height)), height); 351s ***** test 351s shape = logical ([0 0 0 1 0 0 0 351s 0 1 1 1 1 1 0 351s 0 1 1 1 1 1 0 351s 1 1 1 1 1 1 1 351s 0 1 1 1 1 1 0 351s 0 1 1 1 1 1 0 351s 0 0 0 1 0 0 0]); 351s height = [ 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 351s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 351s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 351s 0.00000 0.74536 0.94281 1.00000 0.94281 0.74536 0.00000 351s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 351s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 351s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 351s assert (getnhood (strel ("ball", 3, 1)), shape); 351s assert (getheight (strel ("ball", 3, 1)), height, 0.0001); 351s ***** test 351s shape = logical ([0 0 0 1 0 0 0 351s 0 0 1 1 1 0 0 351s 0 1 1 1 1 1 0 351s 1 1 1 1 1 1 1 351s 0 1 1 1 1 1 0 351s 0 0 1 1 1 0 0 351s 0 0 0 1 0 0 0]); 351s assert (getnhood (strel ("diamond", 3)), shape); 351s ***** test 351s shape = logical ([0 0 0 1 0 0 0 351s 0 1 1 1 1 1 0 351s 0 1 1 1 1 1 0 351s 1 1 1 1 1 1 1 351s 0 1 1 1 1 1 0 351s 0 1 1 1 1 1 0 351s 0 0 0 1 0 0 0]); 351s assert (getnhood (strel ("disk", 3, 0)), shape); 351s ***** test 351s shape = logical ([1 1 1]); 351s assert (getnhood (strel ("line", 3.9, 20.17)), shape); 351s shape = logical ([0 0 1 351s 0 1 0 351s 1 0 0]); 351s assert (getnhood (strel ("line", 3.9, 20.18)), shape); 351s shape = logical ([1 0 0 0 0 0 0 0 0 351s 0 1 0 0 0 0 0 0 0 351s 0 0 1 0 0 0 0 0 0 351s 0 0 1 0 0 0 0 0 0 351s 0 0 0 1 0 0 0 0 0 351s 0 0 0 0 1 0 0 0 0 351s 0 0 0 0 0 1 0 0 0 351s 0 0 0 0 0 0 1 0 0 351s 0 0 0 0 0 0 1 0 0 351s 0 0 0 0 0 0 0 1 0 351s 0 0 0 0 0 0 0 0 1]); 351s assert (getnhood (strel ("line", 14, 130)), shape); 351s ***** test 351s se = strel ("octagon", 0); 351s seq = getsequence (se); 351s assert (getnhood (se), true (1)); 351s assert (getnhood (seq(1)), true (1)); 351s 351s se = strel ("octagon", 3); 351s seq = getsequence (se); 351s shape = logical ([0 0 1 1 1 0 0 351s 0 1 1 1 1 1 0 351s 1 1 1 1 1 1 1 351s 1 1 1 1 1 1 1 351s 1 1 1 1 1 1 1 351s 0 1 1 1 1 1 0 351s 0 0 1 1 1 0 0]); 351s assert (getnhood (se), shape); 351s assert (size (seq), [4 1]); 351s 351s templ1 = logical ([0 0 0; 1 1 1; 0 0 0]); 351s templ2 = logical ([0 1 0; 0 1 0; 0 1 0]); 351s templ3 = logical ([1 0 0; 0 1 0; 0 0 1]); 351s templ4 = logical ([0 0 1; 0 1 0; 1 0 0]); 351s assert ({getnhood(seq(1)) getnhood(seq(2)) getnhood(seq(3)) getnhood(seq(4))}, 351s {templ1 templ2 templ3 templ4}); 351s 351s seq = getsequence (strel ("octagon", 21)); 351s assert (size (seq), [28 1]); 351s assert (arrayfun (@(x) getnhood (seq(x)), 1:4:25, "UniformOutput", false), 351s repmat ({templ1}, 1, 7)); 351s assert (arrayfun (@(x) getnhood (seq(x)), 2:4:26, "UniformOutput", false), 351s repmat ({templ2}, 1, 7)); 351s assert (arrayfun (@(x) getnhood (seq(x)), 3:4:27, "UniformOutput", false), 351s repmat ({templ3}, 1, 7)); 351s assert (arrayfun (@(x) getnhood (seq(x)), 4:4:28, "UniformOutput", false), 351s repmat ({templ4}, 1, 7)); 351s ***** test 351s shape = logical ([1 1 0]'); 351s assert (getnhood (strel ("pair", [-1 0])), shape); 351s shape = logical ([1 0 0 0 0 0 0 351s 0 0 0 1 0 0 0 351s 0 0 0 0 0 0 0]); 351s assert (getnhood (strel ("pair", [-1 -3])), shape); 351s shape = logical ([0 0 0 0 0 0 0 351s 0 0 0 0 0 0 0 351s 0 0 0 1 0 0 0 351s 0 0 0 0 0 0 0 351s 0 0 0 0 0 0 1]); 351s assert (getnhood (strel ("pair", [2 3])), shape); 351s ***** test 351s assert (getnhood (strel ("rectangle", [10 5])), true (10, 5)); 351s assert (getnhood (strel ("square", 5)), true (5)); 351s ***** shared se, seq 351s se = strel ("square", 5); 351s seq = getsequence (se); 351s assert (class (se(1)), "strel") 351s assert (class (se(1,1)),"strel") 351s assert (class (seq), "strel") 351s assert (class (seq(1)), "strel") 351s assert (class (seq(2)), "strel") 351s assert (numel (se), 1) 351s assert (numel (seq), 2) 351s assert (getnhood (seq(1)), true (5, 1)) 351s assert (getnhood (seq(2)), true (1, 5)) 351s assert (size (se), [1 1]) 351s assert (size (seq), [2 1]) 351s assert (isscalar (se), true) 351s assert (isscalar (seq), false) 351s ***** error se(2); 351s ***** error seq(3); 351s ***** test 351s se = strel ("arbitrary", [1 0 0; 1 1 0; 0 1 0], [2 0 0; 3 1 0; 0 3 0]); 351s ref = reflect (se); 351s assert (getnhood (ref), logical([0 1 0; 0 1 1; 0 0 1])); 351s assert (getheight (ref), [0 3 0; 0 1 3; 0 0 2]); 351s ***** error strel() 351s ***** error strel("nonmethodthing", 2) 351s ***** error strel("arbitrary", "stuff") 351s ***** error strel("arbitrary", [0 0 1], [2 0 1; 4 5 1]) 351s ***** error strel("arbitrary", [0 0 1], "stuff") 351s ***** error strel("ball", -3, 1) 351s ***** error strel("diamond", -3) 351s ***** error strel("disk", -3) 351s ***** error strel("line", 0, 45) 351s ***** error strel("octagon", 3.5) 351s ***** error strel("octagon", 4) 351s ***** error strel("octagon", -1) 351s ***** error strel("pair", [45 67 90]) 351s ***** error strel("rectangle", 2) 351s ***** error strel("rectangle", [2 -5]) 351s ***** error strel("square", [34 1-2]) 351s 28 tests, 28 passed, 0 known failure, 0 skipped 351s [inst/rgb2xyz.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/rgb2xyz.m 351s ***** assert (rgb2xyz ([0 0 0]), [0, 0, 0], 1e-3) 351s ***** assert (rgb2xyz ([1 0 0]), [0.4125, 0.2127, 0.0193], 1e-3) 351s ***** assert (rgb2xyz ([1 1 0]), [0.7700, 0.9278, 0.1385], 1e-3) 351s ***** assert (rgb2xyz ([0 1 0]), [0.3576, 0.7152, 0.1192], 1e-3) 351s ***** assert (rgb2xyz ([0 1 1]), [0.5380, 0.7873, 1.0694], 1e-3) 351s ***** assert (rgb2xyz ([0 0 1]), [0.1804, 0.0722, 0.9502], 1e-3) 351s ***** assert (rgb2xyz ([1 0 1]), [0.5929, 0.2848, 0.9696], 1e-3) 351s ***** assert (rgb2xyz ([1 1 1]), [0.9505, 1.0000, 1.0888], 1e-3) 351s ***** assert (rgb2xyz ([0.5 0.5 0.5]), [0.2034, 0.2140, 0.2330], 1e-3) 351s ***** assert (rgb2xyz ([0.75 0 0]), [0.2155, 0.1111, 0.0101], 1e-3) 351s ***** assert (rgb2xyz ([0.5 0 0]), [0.0883, 0.0455, 0.0041], 1e-3) 351s ***** assert (rgb2xyz ([0.25 0 0]), [0.0210, 0.0108, 0.0010], 1e-3) 351s ***** assert (rgb2xyz ([1 0.5 0.5]), [0.5276, 0.3812, 0.2482], 1e-3) 351s ***** assert (rgb2xyz ([1.5 1 1]), [1.5845, 1.3269, 1.1185], 1e-3) 351s ***** test 351s rgb_map = rand (64, 3); 351s assert (xyz2rgb (rgb2xyz (rgb_map)), rgb_map, 2e-5); 351s ***** test 351s rgb_img = rand (64, 64, 3); 351s assert (xyz2rgb (rgb2xyz (rgb_img)), rgb_img, 2e-5); 351s ***** assert (rgb2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 351s ***** assert (rgb2xyz (sparse ([0 0 1])), [0.1804, 0.0722, 0.9502], 1e-3) 351s ***** assert (rgb2xyz (uint8([255 255 255])), [0.9505, 1.0000, 1.0888], 1e-3) 351s ***** assert (class (rgb2xyz (single([1 1 1]))), 'single') 351s ***** error rgb2xyz () 351s ***** error rgb2xyz (1,2) 351s ***** error rgb2xyz ({1}) 351s ***** error rgb2xyz (ones (2,2)) 351s ***** test 351s rgb = rand (16, 16, 3, 5); 351s xyz = zeros (size (rgb)); 351s for i = 1:5 351s xyz(:,:,:,i) = rgb2xyz (rgb(:,:,:,i)); 351s endfor 351s assert (rgb2xyz (rgb), xyz) 351s 25 tests, 25 passed, 0 known failure, 0 skipped 351s [inst/radon.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/radon.m 351s ***** test 351s A = radon (ones (2,2), 30); 351s assert (A, [0 0 0.608253175473055 2.103325780167649 1.236538105676658 0.051882938682637 0]',1e-10) 351s ***** test 351s ***** # testing all types 351s A = radon (single (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (double (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (int8 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (int32 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (int64 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (uint8 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (uint16 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (uint32 (ones (2,2)), 90); 351s assert (A, B) 351s A = radon (uint64 (ones (2,2)), 90); 351s B = [0, 0.25, 1.75, 1.75, 0.25, 0. 0.]'; 351s assert (A, B) 351s bug #58567 351s A = radon (logical (ones (2,2)), 90); 351s assert (A, B) 351s ***** error 351s radon (); 351s ***** error 351s radon ('xxx'); 351s ***** error 351s radon (ones (2, 2), ones (2,2)); 351s ***** error 351s radon (ones (2, 2), 'xxx'); 351s 6 tests, 6 passed, 0 known failure, 0 skipped 351s [inst/impixel.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/impixel.m 351s ***** shared img2d, img3d 351s img2d = uint8 (magic (10)); 351s img3d(:,:,1) = img2d; 351s img3d(:,:,2) = img2d + 1; 351s img3d(:,:,3) = img2d + 2; 351s img3d = uint8 (img3d); 351s 351s ***** assert (impixel (img2d, 2, 2), single ([80 80 80])); 351s ***** assert (impixel (img2d, -2, 2), single ([NA NA NA])); 351s 351s ***** assert (impixel (img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 351s ***** assert (impixel (img3d, [1 10], [1 10]), single ([92 93 94; 59 60 61])); 351s ***** assert (impixel (double (img2d), [1 10], [1 10]), [92 92 92; 59 59 59]); 351s 351s ***** assert (impixel ([1 10], [1 10], img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 351s ***** assert (impixel ([3 12], [-4 12], img2d, [1 10], [1 10]), single ([NA NA NA; 44 44 44])); 351s ***** assert (impixel ([3 5], [-4 3], img2d, [1 10], [1 10]), single ([NA NA NA; NA NA NA])); 351s 351s ## the following returns double because it's an indexed image 351s ***** assert (impixel ([3 12], [-4 12], img2d, gray (100), [1 10], [1 10]), [NA NA NA; 4/9 4/9 4/9]); 351s 9 tests, 9 passed, 0 known failure, 0 skipped 351s [inst/imfill.m] 351s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imfill.m 351s ***** test 351s I = uint8 (5.*[1 1 1; 1 0 1; 1 1 1]); 351s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 351s I2 = uint8 (5.*ones (3)); 351s bw2 = logical (ones (3)); 351s 351s assert (imfill (int8 (I)), int8 (I2)) 351s assert (imfill (int16 (I)), int16 (I2)) 351s assert (imfill (int32 (I)), int32 (I2)) 351s assert (imfill (int64 (I)), int64 (I2)) 351s assert (imfill (uint8 (I)), uint8 (I2)) 351s assert (imfill (uint16 (I)), uint16 (I2)) 351s assert (imfill (uint32 (I)), uint32 (I2)) 351s assert (imfill (uint64 (I)), uint64 (I2)) 351s assert (imfill (single (I)), single (I2)) 351s assert (imfill (double (I)), double (I2)) 351s assert (imfill (bw, "holes"), bw2) 351s assert (imfill (uint8 (bw)), uint8 (bw2)) 351s ***** error 351s imfill (i + ones (3, 3)); # complex input 351s ***** error 351s imfill (sparse (double (I))); # sparse input 351s ***** error 351s imfill (); 352s ***** error 352s imfill (true (3), 4, "holes", 5) 352s ***** error 352s imfill (false (3), ones (2, 3)) 352s ***** error 352s imfill (false (3), ones (2, 3), 4) 352s ***** error 352s imfill (false (3)) 352s ***** error 352s imfill (false (3), 0, 4) 352s ***** warning 352s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 352s assert (imfill (bw, [5 5]), bw) 352s assert (imfill (bw, 15), bw) 352s 352s bw = repmat (bw, [1 1 3]); 352s assert (imfill (bw, 30), bw) 352s assert (imfill (bw, [2 2 5]), bw) 352s ***** test 352s bw = logical ([1 0 0 0 0 0 0 0 352s 1 1 1 1 1 0 0 0 352s 1 0 0 0 1 0 1 0 352s 1 0 0 0 1 1 1 0 352s 1 1 1 1 0 1 1 1 352s 1 0 0 1 1 0 1 0 352s 1 0 0 0 1 0 1 0 352s 1 0 0 0 1 1 1 0]); 352s bw2 = logical ([1 0 0 0 0 0 0 0 352s 1 1 1 1 1 0 0 0 352s 1 1 1 1 1 0 1 0 352s 1 1 1 1 1 1 1 0 352s 1 1 1 1 1 1 1 1 352s 1 0 0 1 1 1 1 0 352s 1 0 0 0 1 1 1 0 352s 1 0 0 0 1 1 1 0]); 352s bw3 = logical ([1 0 0 0 0 0 0 0 352s 1 1 1 1 1 0 0 0 352s 1 1 1 1 1 0 1 0 352s 1 1 1 1 1 1 1 0 352s 1 1 1 1 0 1 1 1 352s 1 0 0 1 1 0 1 0 352s 1 0 0 0 1 0 1 0 352s 1 0 0 0 1 1 1 0]); 352s assert (imfill (bw, "holes"), bw2) 352s assert (imfill (bw, 8, "holes"), bw2) 352s assert (imfill (bw, 4, "holes"), bw2) 352s assert (imfill (bw, [3 3]), bw3) 352s assert (imfill (bw, 19), bw3) 352s assert (imfill (bw, [3 3], 4), bw3) 352s assert (imfill (bw, 19, 4), bw3) 352s assert (imfill (bw, [3 3], 8), bw2) 352s assert (imfill (bw, 19, 8), bw2) 352s assert (imfill (bw, [19; 20]), bw3) 352s assert (imfill (bw, [19; 20], 4), bw3) 352s assert (imfill (bw, [19; 20], 8), bw2) 352s ***** warning 352s bw = logical ([1 1 1 1 1 1 1 352s 1 0 0 0 0 0 1 352s 1 0 1 1 1 0 1 352s 1 0 1 0 1 0 1 352s 1 0 1 1 1 0 1 352s 1 0 0 0 0 0 1 352s 1 1 1 1 1 1 1]); 352s bw44 = logical ([1 1 1 1 1 1 1 352s 1 0 0 0 0 0 1 352s 1 0 1 1 1 0 1 352s 1 0 1 1 1 0 1 352s 1 0 1 1 1 0 1 352s 1 0 0 0 0 0 1 352s 1 1 1 1 1 1 1]); 352s bw9 = logical ([1 1 1 1 1 1 1 352s 1 1 1 1 1 1 1 352s 1 1 1 1 1 1 1 352s 1 1 1 0 1 1 1 352s 1 1 1 1 1 1 1 352s 1 1 1 1 1 1 1 352s 1 1 1 1 1 1 1]); 352s assert (imfill (bw, "holes"), logical (ones (7))) 352s assert (imfill (bw, [4 4]), bw44) 352s assert (imfill (bw, 9), bw9) 352s assert (imfill (bw, [4 4; 10 10]), bw44) 352s ***** test 352s bw = logical ([1 1 0 1 1]); 352s assert (imfill (bw, "holes"), bw) 352s bw = logical([1 1 0 1 1; 1 1 1 1 1]); 352s assert (imfill (bw, "holes"), bw) 352s ***** test 352s I = zeros (5); 352s I(:, [2 4]) = 1; 352s I2_expected = [0 1 1 1 0 352s 0 1 1 1 0 352s 0 1 1 1 0 352s 0 1 1 1 0 352s 0 1 1 1 0]; 352s I2 = imfill (I, [0 0 0; 1 1 1; 0 0 0], "holes"); 352s assert (I2, I2_expected) 352s ***** test 352s I = zeros (5); 352s I(:, [2 4]) = 1; 352s I2_expected = I; 352s I2 = imfill (I, [0 1 0; 0 1 0; 0 1 0], "holes"); 352s assert (I2, I2_expected) 352s ***** test # this test is Matlab compatible 352s I = zeros (5); 352s I(:, [2 4]) = 1; 352s I2_expected = inf .* ones (5); 352s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 352s assert (I2, I2_expected) 352s ***** test 352s I = false (5); 352s I(:, [2 4]) = true; 352s I2_expected = true (5); 352s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 352s assert (I2, I2_expected) 352s ***** test 352s I = uint8 ([10 20 80 85 20 352s 15 90 03 25 88 352s 05 85 02 50 83 352s 90 04 03 80 80 352s 10 81 83 85 30]); 352s I2 = uint8 ([10 20 80 85 20 352s 15 90 80 80 88 352s 05 85 80 80 83 352s 90 80 80 80 80 352s 10 81 83 85 30]); 352s I3 = uint8 ([10 20 80 85 20 352s 15 90 05 25 88 352s 05 85 05 50 83 352s 90 05 05 80 80 352s 10 81 83 85 30]); 352s assert (imfill (I), I2) 352s assert (imfill (I, 4), I2) 352s assert (imfill (I, 4, "holes"), I2) 352s assert (imfill (I, 8), I3) 352s assert (imfill (I, "holes"), I2) 352s ***** test 352s v_line = [0 1 0; 0 1 0; 0 1 0]; 352s h_line = [0 0 0; 1 1 1; 0 0 0]; 352s im = [0 1 0 0 1 0]; 352s 352s assert (imfill (im, h_line, "holes"), [0 1 1 1 1 0]) 352s assert (imfill (im, v_line, "holes"), [0 1 0 0 1 0]) 352s assert (imfill (im', h_line, "holes"), [0 1 0 0 1 0]') 352s assert (imfill (im', v_line, "holes"), [0 1 1 1 1 0]') 352s 352s im = repmat (im, [1 1 5]); 352s assert (imfill (im, h_line, "holes"), repmat ([0 1 1 1 1 0], [1 1 5])) 352s assert (imfill (im, v_line, "holes"), im) 352s 352s im = permute (im, [2 1 3]); 352s assert (imfill (im, h_line, "holes"), im) 352s assert (imfill (im, v_line, "holes"), repmat ([0 1 1 1 1 0]', [1 1 5])) 352s ***** test 352s im = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 0 0 1 0 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s fi = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 1 1 1 0 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s 352s assert (imfill (cat (3, im, im, im), 8, 'holes'), cat (3, fi, fi, fi)) 352s assert (imfill (cat (3, im, im, im), 'holes'), cat (3, im, im, im)) 352s assert (imfill (cat (3, fi, im, fi), 'holes'), cat (3, fi, fi, fi)) 352s ***** test 352s emp = false (5, 6); 352s im = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 0 1 0 1 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s fi = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 1 1 1 1 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s fi1 = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 1 1 0 1 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s fi2 = logical ([0 0 0 0 0 0 352s 0 1 1 1 1 0 352s 0 1 0 1 1 1 352s 0 1 1 1 1 0 352s 0 0 0 0 0 0]); 352s 352s assert (imfill (cat (3, im, im, im), [3 3 2]), cat (3, fi1, fi1, fi1)) 352s assert (imfill (cat (3, im, im, im), [3 5 2]), cat (3, fi2, fi2, fi2)) 352s assert (imfill (cat (3, im, im, im), [3 3 2; 3 5 2]), cat (3, fi, fi, fi)) 352s assert (imfill (cat (3, emp, im, emp), [3 3 2]), true (5, 6, 3)) 352s 21 tests, 21 passed, 0 known failure, 0 skipped 352s [inst/fftconvn.m] 352s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/fftconvn.m 352s ***** function test_shapes (a, b, precision) 352s shapes = {"valid", "same", "full"}; 352s for i = 1:3 352s shape = shapes{i}; 352s assert (fftconvn (a, b, shape), convn (a, b, shape), precision); 352s endfor 352s assert (fftconvn (a, b), fftconvn (a, b, "full")); 352s ***** endfunction 352s ***** test test_shapes (randi (255, 100), randi (255, 10), 0.1) 352s ***** test test_shapes (randi (255, 100, 100), randi (255, 10, 10), 0.1) 352s ***** test test_shapes (randi (255, 100, 100, 100), randi (255, 10, 10, 10), 0.1) 356s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10, 7), 0.1) 357s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10), 0.1) 357s ***** test 357s for s = [55 56 57 58] 357s test_shapes (randi (255, 200, 200), randi (255, s, s), 0.1) 357s endfor 358s ***** test 358s for s = [203 204 205 206] 358s test_shapes (randi (255, s, s), randi (255, 52, 52), 0.1) 358s endfor 360s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10, "uint8"), 0.1) 360s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10), 0.1) 360s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10, "single"), 0.9) 360s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10), 0.9) 360s 11 tests, 11 passed, 0 known failure, 0 skipped 360s [inst/getrangefromclass.m] 360s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/getrangefromclass.m 360s ***** shared img 360s img = ones (5); 360s ***** assert (getrangefromclass (double (img)), [0 1]); # double returns [0 1] 360s ***** assert (getrangefromclass (single (img)), [0 1]); # single returns [0 1] 360s ***** assert (getrangefromclass (logical (img)), [0 1]); # logical returns [0 1] 360s ***** assert (getrangefromclass (int8 (img)), [-128 127]); # checks int 360s ***** assert (getrangefromclass (uint8 (img)), [0 255]); # checks unit 360s ***** fail ("getrangefromclass ('string')"); # fails with strings 360s ***** fail ("getrangefromclass ({3, 4})"); # fails with cells 360s 7 tests, 7 passed, 0 known failure, 0 skipped 360s [inst/poly2mask.m] 360s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/poly2mask.m 360s ***** demo 360s s = [0:pi/4:2*pi]; 360s x = cos (s) * 90 + 101; 360s y = sin (s) * 90 + 101; 360s bw = poly2mask(x, y, 200, 200); 360s imshow (bw); 360s ***** demo 360s s = [0:2*pi/5:pi*4]; 360s s = s ([1, 3, 5, 2, 4, 6]); 360s x = cos (s) * 90 + 101; 360s y = sin (s) * 90 + 101; 360s bw = poly2mask (x, y, 200, 200); 360s imshow (bw); 360s ***** # Convex polygons 360s ***** shared xs, ys, Rs, xt, yt, Rt 360s xs=[3,3,10,10]; 360s ys=[4,12,12,4]; 360s Rs=zeros(16,14); 360s Rs(5:12,4:10)=1; 360s Rs=logical(Rs); 360s xt=[1,4,7]; 360s yt=[1,4,1]; 360s Rt=[0,0,0,0,0,0,0; 360s 0,0,1,1,1,1,0; 360s 0,0,0,1,1,0,0; 360s 0,0,0,1,0,0,0; 360s 0,0,0,0,0,0,0]; 360s Rt=logical(Rt); 360s ***** assert(poly2mask(xs,ys,16,14),Rs); # rectangle 360s ***** assert(poly2mask(xs,ys,8,7),Rs(1:8,1:7)); # clipped 360s ***** assert(poly2mask(xs-7,ys-8,8,7),Rs(9:16,8:14)); # more clipping 360s ***** assert(poly2mask(xt,yt,5,7),Rt); # triangle 360s ***** assert(poly2mask(xt,yt,3,3),Rt(1:3,1:3)); # clipped 360s ***** # Concave polygons 360s ***** test 360s x=[3,3,5,5,8,8,10,10]; 360s y=[4,12,12,8,8,11,11,4]; 360s R=zeros(16,14); 360s R(5:12,4:5)=1; 360s R(5:8,6:8)=1; 360s R(5:11,9:10)=1; 360s R=logical(R); 360s assert(poly2mask(x,y,16,14), R); 360s ***** # Complex polygons 360s ***** test 360s x=[1,5,1,5]; 360s y=[1,1,4,4]; 360s R=[0,0,0,0,0,0; 360s 0,0,1,1,0,0; 360s 0,0,1,1,0,0; 360s 0,1,1,1,1,0; 360s 0,0,0,0,0,0]; 360s R=logical(R); 360s assert(poly2mask(x,y,5,6), R); 360s 7 tests, 7 passed, 0 known failure, 0 skipped 360s [inst/isgray.m] 360s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/isgray.m 360s ***** assert (isgray ([0 0 1; 1 0 1]), true) 360s ***** assert (isgray (zeros (3)), true) 360s ***** assert (isgray (ones (3)), true) 360s ***** test 360s a = rand (10); 360s assert (isgray (a), true); 360s a(5, 5) = 2; 360s assert (isgray (a), false); 360s ***** test 360s a = uint8 (randi (255, 10)); 360s assert (isgray (a), true); 360s a = int8 (a); 360s assert (isgray (a), false); 360s ***** test 360s a = rand (10); 360s a(50) = NaN; 360s assert (isgray (a), true); 360s ***** assert (isgray (rand (5, 5, 1, 4)), true); 360s ***** assert (isgray (rand (5, 5, 3, 4)), false); 360s ***** assert (isgray (rand (5, 5, 3)), false); 360s ***** assert (isgray (rand (5, 5, 1, 3, 4)), false); 360s ***** assert (isgray (rand (5, "single")), true) 360s ***** assert (isgray ([.1 .2 .3; .4 NaN .6; .7 .8 .9]), true) 360s ***** assert (isgray ([.1 .2 .3; NA NaN .6; .7 .8 .9]), true) 360s ***** assert (isgray ([.1 .2 .3; NA .5 .6; .7 .8 .9]), true) 360s ***** assert (isgray (NaN (5)), false) 360s ***** assert (isgray (NA (5)), false) 360s 16 tests, 16 passed, 0 known failure, 0 skipped 360s [inst/im2bw.m] 360s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/im2bw.m 360s ***** assert(im2bw ([0 0.4 0.5 0.6 1], 0.5), logical([0 0 0 1 1])); # basic usage 360s ***** assert(im2bw (uint8 ([0 100 255]), 0.5), logical([0 0 1])); # with a uint8 input 360s ***** warning bw = im2bw (logical ([0 1 0])); 360s ***** warning bw = im2bw (logical ([0 1 0]), 1); 360s ***** test 360s warning ("off", "all", "local"); 360s assert (im2bw (logical ([0 1 0])), logical ([0 1 0])) 360s assert (im2bw (logical ([0 1 0]), 0), logical ([0 1 0])) 360s assert (im2bw (logical ([0 1 0]), 1), logical ([0 1 0])) 360s ***** assert (nnz (im2bw (uint8 ([0:255]), 0.9)), 26) 360s ***** test 360s img = uint8 ([0:255]); 360s s = 0; 360s for i=0:.1:1 360s s += nnz (im2bw (img, i)); 360s endfor 360s assert (s, 1405) 360s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.499)), 194) 360s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.500)), 128) 360s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.501)), 62) 360s ***** test 360s img = uint16 ([0:intmax("uint16")]); 360s s = 0; 360s for i=0:.1:1 360s s += nnz (im2bw (img, i)); 360s endfor 360s assert (s, 360445) 360s ***** test 360s img = int16 ([intmin("int16"):intmax("int16")]); 360s s = 0; 360s for i=0:.1:1 360s s += nnz (im2bw (img, i)); 360s endfor 360s assert (s, 360445) 360s ***** test 360s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 360s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 360s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 360s ***** test 360s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 360s im = reshape (im, [10 10 1 2]); 360s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 360s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 360s 14 tests, 14 passed, 0 known failure, 0 skipped 360s [inst/imattributes.m] 360s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imattributes.m 360s ***** shared x, map, img, rgb, bw 360s [x, map] = imread ("default.img"); 360s rgb = ind2rgb (x, map); 360s img = ind2gray (x, map); 360s bw = im2bw (img); 360s ***** test 360s h = imshow (img); 360s a = imattributes (h); 360s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 360s assert (a.Class, "uint8"); 360s assert (a.("Image type"), "intensity"); 360s assert (a.("Minimum intensity"), uint8 (28)); 360s assert (a.("Maximum intensity"), uint8 (250)); 360s ***** xtest 360s h = imshow (rgb); 360s a = imattributes (h); 360s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 360s assert (a.Class, "uint8"); 360s assert (a.("Image type"), "truecolor"); 360s assert (isfield (a, "Minimum intensity"), false); 360s assert (isfield (a, "Maximum intensity"), false); 360s !!!!! known failure 360s ASSERT errors for: assert (a.Class,"uint8") 360s 360s Location | Observed | Expected | Reason 360s [] double uint8 Strings don't match 360s ***** test 360s h = imshow (bw); 360s a = imattributes (h); 360s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 360s assert (a.Class, "logical"); 360s assert (a.("Image type"), "binary"); 360s assert (isfield (a, "Minimum intensity"), false); 360s assert (isfield (a, "Maximum intensity"), false); 360s ***** test 360s h = imshow (x, map); 360s a = imattributes (h); 360s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 360s assert (a.Class, "uint8"); 360s assert (a.("Image type"), "indexed"); 360s assert (a.("Minimum intensity"), uint8 (0)); 360s assert (a.("Maximum intensity"), uint8 (55)); 360s ***** test 360s h = imshow (img); 360s a1 = imattributes (); 360s a2 = imattributes (h); 360s assert (a1, a2); 361s 5 tests, 4 passed, 1 known failure, 0 skipped 361s [inst/imshowpair.m] 361s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imshowpair.m 361s ***** error id=Octave:invalid-fun-call imshowpair () 361s ***** error id=Octave:invalid-fun-call imshowpair (1) 361s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 361s uint8 (200.*rand (100)), "interpolation") 361s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 361s uint8 (200.*rand (100)), "xxxxx") 361s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [0 0 0]) 361s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [1 1 1]) 361s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [2 2 2]) 361s ***** error id=Octave:expected-less-equal imshowpair (1, 1, "ColorChannels", [42 0 0]) 361s ***** error id=Octave:expected-greater-equal imshowpair (1, 1, "ColorChannels", [-1 2 0]) 361s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", "deep-purple") 361s ***** test 361s A = uint8 (200.*rand (100)); 361s B = uint8 (150.*rand (100)); 361s RA = imref2d (size (A), 0.5, 0.5); 361s RB = imref2d (size (B), 0.5, 0.5); 361s figure; 361s Ax=axes; 361s assert (imshowpair (A, B)); 361s assert (imshowpair (A, RA, B, RB)); 361s assert (imshowpair (A, B, "blend")); 361s assert (imshowpair (A, B, "falsecolor", "ColorChannels", "red-cyan")); 361s assert (imshowpair (A, B, "Parent", Ax)); 361s assert (imshowpair (A, B, "montage", "Scaling", "joint")); 361s close; 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 361s 362s warning: test: file /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imshowpair.m leaked file descriptors 362s 11 tests, 11 passed, 0 known failure, 0 skipped 362s [inst/imremap.m] 362s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imremap.m 362s ***** demo 362s ## Generate a synthetic image and show it 362s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 362s I(20:30, 20:30) = !I(20:30, 20:30); 362s I(70:80, 70:80) = !I(70:80, 70:80); 362s figure, imshow(I); 362s ## Resize the image to the double size and show it 362s [XI, YI] = meshgrid(linspace(1, 100, 200)); 362s warped = imremap(I, XI, YI); 362s figure, imshow(warped); 362s ***** demo 362s ## Generate a synthetic image and show it 362s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 362s I(20:30, 20:30) = !I(20:30, 20:30); 362s I(70:80, 70:80) = !I(70:80, 70:80); 362s figure, imshow(I); 362s ## Rotate the image around (0, 0) by -0.4 radians and show it 362s [XI, YI] = meshgrid(1:100); 362s R = [cos(-0.4) sin(-0.4); -sin(-0.4) cos(-0.4)]; 362s RXY = [XI(:), YI(:)] * R; 362s XI = reshape(RXY(:,1), [100, 100]); YI = reshape(RXY(:,2), [100, 100]); 362s warped = imremap(I, XI, YI); 362s figure, imshow(warped); 362s ***** test 362s 362s I = repmat([ 1 2 3 4 ], [4, 1]); 362s xi = [-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11]; 362s exp_rep = [ 1 1 1 1 1 1 1 1 2 3 4 4 4 4 4 4 4 4]; 362s exp_sym = [ 2 3 4 4 3 2 1 1 2 3 4 4 3 2 1 1 2 3]; 362s exp_ref = [ 2 1 2 3 4 3 2 1 2 3 4 3 2 1 2 3 4 3]; 362s exp_cir = [ 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3]; 362s yi = 2.5; 362s 362s # rectilinear grid codepath 362s assert (imremap (I, xi, yi, "bicubic", "replicate"), exp_rep); 362s assert (imremap (I, xi, yi, "bicubic", "symmetric"), exp_sym); 362s assert (imremap (I, xi, yi, "bicubic", "reflect"), exp_ref); 362s assert (imremap (I, xi, yi, "bicubic", "circular"), exp_cir); 362s 362s # meshgrid codepath 362s XI = [xi/2; xi; xi/2]; % cannot be reduced to vector, we will assert only middle row 362s YI = repmat ([1.5; yi; 3.5], [1, length(xi)]); 362s assert (imremap (I, XI, YI, "bicubic", "replicate")(2,:), exp_rep); 362s assert (imremap (I, XI, YI, "bicubic", "symmetric")(2,:), exp_sym); 362s assert (imremap (I, XI, YI, "bicubic", "reflect")(2,:), exp_ref); 362s assert (imremap (I, XI, YI, "bicubic", "circular")(2,:), exp_cir); 362s 1 test, 1 passed, 0 known failure, 0 skipped 362s [inst/imapplymatrix.m] 362s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imapplymatrix.m 362s ***** error id=Octave:invalid-fun-call imapplymatrix () 362s ***** error id=Octave:invalid-fun-call imapplymatrix (42) 362s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 2, 2), 42) 362s ***** error id=Octave:invalid-input-arg imapplymatrix ([], ones (2, 2)) 362s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (0, 2), ones (2, 2)) 362s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 0), ones (2, 2)) 362s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2]) 362s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2], "uint8") 362s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, 0, 666) 362s ***** assert (imapplymatrix ([], []), []) 362s ***** assert (imapplymatrix ([], [], "uint16"), uint16 ([])) 362s ***** assert (imapplymatrix (1, 10, []), 10) 362s ***** assert (imapplymatrix (1, 10, ones (0, 5)), 10) 362s ***** assert (imapplymatrix (1, 10, ones (5, 0)), 10) 362s ***** assert (imapplymatrix (ones (0), ones (0), 3), []) 362s ***** assert (imapplymatrix (ones (0), ones (4, 0), 3), zeros (4, 0)) 362s ***** assert (imapplymatrix (ones (0), ones (0, 4), 3), zeros (0, 4)) 362s ***** assert (imapplymatrix (ones (2, 0), ones (0, 4), 3), zeros (0, 4)) 362s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4), 3), zeros (0, 4)) 362s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4, 0), 3), zeros (0, 4, 0)) 362s ***** assert (imapplymatrix("a", ones(2, 2)), nan (2, 2)) 362s ***** assert (imapplymatrix("abc", ones(2, 2)), nan (2, 2)) 362s ***** assert (imapplymatrix (1, 10), 10) 362s ***** assert (imapplymatrix (1, 10, 3), 13) 362s ***** assert (imapplymatrix (ones (1), uint8 (10), 3), uint8 (13)) 362s ***** assert (imapplymatrix (uint8 (ones (1)), 10, 3), double (13)) 362s ***** assert (imapplymatrix (uint8 (ones (1)), uint8 (10), 3), uint8 (13)) 362s ***** assert (imapplymatrix (2.6 * ones (1), uint8 (10), 4.7), uint8 (31)) 362s ***** assert (imapplymatrix (42, ones (1, 2)), 42 * ones (1, 2)) 362s ***** assert (imapplymatrix (42, ones (2, 1)), 42 * ones (2, 1)) 362s ***** assert (imapplymatrix (42, ones (2, 2)), 42 * ones (2, 2)) 362s ***** assert (imapplymatrix (42, ones (2, 2), 0.5), 42.5 * ones (2, 2)) 362s ***** assert (imapplymatrix ([4, 2], ones (2, 2, 2), 0.5), 6.5 * ones (2, 2)) 362s ***** assert (imapplymatrix ([4, 2; 362s 4, 2], ones (2, 2, 2), [0.5, 0.5]), 6.5 * ones (2, 2, 2)) 362s ***** assert (imapplymatrix ([4, 2; 362s 4, 2], ones (2, 2, 2), [0.5; 0.5]), 6.5 * ones (2, 2, 2)) 362s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3)), 6 * ones (2, 2, 1)) 362s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3), 1), 7 * ones (2, 2, 1)) 362s ***** test 362s expected = zeros (2, 2, 2, "uint8"); 362s expected(:, :, 1) = 7 * ones (2, 2); 362s expected(:, :, 2) = 16 * ones (2, 2); 362s I = uint8 (ones (2, 2, 3)); 362s assert (imapplymatrix ([1, 2, 3 362s 4, 5, 6], I, [1, 1]), expected) 362s ***** test 362s expected = zeros (2, 2, 2, 2, "uint16"); 362s expected(:, :, 1, 1) = 7 * ones (2, 2); 362s expected(:, :, 2, 1) = 16 * ones (2, 2); 362s expected(:, :, 1, 2) = 13 * ones (2, 2); 362s expected(:, :, 2, 2) = 31 * ones (2, 2); 362s I(:, :, :, 1) = uint16 (ones (2, 2, 3)); 362s I(:, :, :, 2) = 2 * uint16 (ones (2, 2, 3)); 362s assert (imapplymatrix ([1, 2, 3; 362s 4, 5, 6], I, [1, 1]), expected) 362s 39 tests, 39 passed, 0 known failure, 0 skipped 362s [inst/edge.m] 362s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/edge.m 362s ***** test 362s im = [ 362s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 362s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 362s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 362s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 362s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 362s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 362s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 362s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 362s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 362s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 362s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 362s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 362s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 362s ] / 255; 362s 362s methods = {"kirsch", "prewitt", "sobel"}; 362s for m_i = 1:numel (methods) 362s method = methods{m_i}; 362s 362s bw = edge (im, method, 0.2, "both", "thinning"); 362s assert (edge (im, method, 0.2), bw) 362s 362s args = perms ({0.2, "both", "thinning"}); 362s for i = 1:rows (args) 362s assert (edge (im, method, args{i,:}), bw) 362s endfor 362s 362s bw = edge (im, method, 0.2, "vertical", "nothinning"); 362s args = perms ({0.2, "vertical", "nothinning"}); 362s for i = 1:rows (args) 362s assert (edge (im, method, args{i,:}), bw) 362s endfor 362s 362s bw = edge (im, method, 0.2, "vertical", "thinning"); 362s args = perms ({0.2, "vertical"}); 362s for i = 1:rows (args) 362s assert (edge (im, method, args{i,:}), bw) 362s endfor 362s 362s bw = edge (im, method, 0.2, "both", "nothinning"); 362s args = perms ({0.2, "nothinning"}); 362s for i = 1:rows (args) 362s assert (edge (im, method, args{i,:}), bw) 362s endfor 362s endfor 362s ***** error 362s bw = edge (rand (10), "sobel", 0.2, 0.4) 362s ***** error 362s bw = edge (rand (10), "sobel", "thinning", "nothinning") 362s ***** error 362s bw = edge (rand (10), "sobel", "both", "both") 362s ***** error 362s bw = edge (rand (10), "sobel", [0.2 0.7], "both", "thinning") 362s ***** error 362s bw = edge (rand (10), "kirsch", 0.2, 0.4) 362s ***** error 362s bw = edge (rand (10), "kirsch", "thinning", "nothinning") 362s ***** error 362s bw = edge (rand (10), "kirsch", "both", "both") 362s ***** error 362s bw = edge (rand (10), "kirsch", [0.2 0.7], "both", "thinning") 362s ***** error 362s bw = edge (rand (10), "prewitt", 0.2, 0.4) 362s ***** error 362s bw = edge (rand (10), "prewitt", "thinning", "nothinning") 362s ***** error 362s bw = edge (rand (10), "prewitt", "both", "both") 362s ***** error 362s bw = edge (rand (10), "prewitt", [0.2 0.7], "both", "thinning") 362s ***** test 362s im = [ 362s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 362s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 362s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 362s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 362s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 362s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 362s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 362s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 362s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 362s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 362s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 362s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 362s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 362s ] / 255; 362s 362s bw = edge (im, "roberts", .2, "thinning"); 362s assert (edge (im, "roberts", 0.2), bw) 362s assert (edge (im, "roberts", "thinning", 0.2), bw) 362s 362s bw = edge (im, "roberts", .2, "nothinning"); 362s assert (edge (im, "roberts", "nothinning", 0.2), bw) 362s ***** error 362s bw = edge (rand (10), "roberts", 0.2, 0.4) 362s ***** error 362s bw = edge (rand (10), "roberts", "thinning", "nothinning") 362s ***** error 362s bw = edge (rand (10), "roberts", "both", "thinning") 362s ***** test 362s im = rand (10); 362s [~, thresh] = edge (im, "canny"); 362s assert (size (thresh), [1 2]) 362s [~, thresh] = edge (im, "canny", [.2 .6]); 362s assert (thresh, [.2 .6]) 362s [~, thresh] = edge (im, "canny", [.2; .6]); 362s assert (thresh, [.2 .6]) 362s ***** test 362s in = zeros (5); 362s in(3,3) = 1; 362s 362s E = logical ([ 362s 0 0 0 0 0 362s 0 0 1 0 0 362s 0 1 0 1 0 362s 0 0 1 0 0 362s 0 0 0 0 0]); 362s assert (edge (in), E) 362s assert (edge (uint8 (in.*100)), E) 362s assert (edge (in, "sobel"), E) 362s assert (edge (in, "sobel", 0), E) 362s assert (edge (in, "sobel", 1), false (5)) 362s 362s [E, auto_thresh] = edge (in); 362s assert (auto_thresh, 0.2449, 1e-4) 362s 362s V = logical([ 362s 0 0 0 0 0 362s 0 1 0 1 0 362s 0 1 0 1 0 362s 0 1 0 1 0 362s 0 0 0 0 0]); 362s assert (edge (in, "sobel", 0, "vertical"), V) 362s 362s H = logical ([ 362s 0 0 0 0 0 362s 0 1 1 1 0 362s 0 0 0 0 0 362s 0 1 1 1 0 362s 0 0 0 0 0]); 362s assert (edge (in, "sobel", 0, "horizontal"), H) 362s 362s V = false (5); 362s V(3,2) = true; 362s V(3,4) = true; 362s assert (edge (in, "sobel", [], "vertical"), V) 362s 362s H = false (5); 362s H(2,3) = true; 362s H(4,3) = true; 362s assert (edge (in, "sobel", [], "horizontal"), H) 362s ***** test 362s A = ones (5); 362s A(3, 3) = 0; 362s expected = logical ([ 362s 0 0 0 0 0 362s 0 0 1 0 0 362s 0 1 0 1 0 362s 0 0 1 0 0 362s 0 0 0 0 0]); 362s assert (edge (A), expected) 362s ***** test 362s in = zeros (5); 362s in(3, 3) = 1; 362s 362s E = logical ([ 362s 0 0 0 0 0 362s 0 1 0 1 0 362s 0 0 0 0 0 362s 0 1 0 1 0 362s 0 0 0 0 0]); 362s 362s assert (edge (in, "prewitt"), E) 362s 362s [~, auto_thresh] = edge (in, "prewitt"); 362s assert (auto_thresh, 0.2309, 1e-4) 362s 362s V = logical([ 362s 0 0 0 0 0 362s 0 1 0 1 0 362s 0 1 0 1 0 362s 0 1 0 1 0 362s 0 0 0 0 0]); 362s assert (edge (in, "prewitt", 0, "vertical"), V) 362s 362s H = logical ([ 362s 0 0 0 0 0 362s 0 1 1 1 0 362s 0 0 0 0 0 362s 0 1 1 1 0 362s 0 0 0 0 0]); 362s assert (edge (in, "prewitt", 0, "horizontal"), H) 362s ***** test 362s in = zeros (5); 362s in(3,3) = 1; 362s in(3,4) = 0.9; 362s 362s E = logical ([ 362s 0 0 0 0 0 362s 0 0 1 0 0 362s 0 0 1 0 0 362s 0 0 0 0 0 362s 0 0 0 0 0]); 362s 362s assert (edge (in, "roberts"), E) 362s 362s [~, auto_thresh] = edge (in, "roberts"); 362s assert (auto_thresh, 0.6591, 1e-4) 362s 362s E45 = [0 0 0 0 0 362s 0 -0.5 -0.45 0 0 362s 0 0 0.50 0.45 0 362s 0 0 0 0 0 362s 0 0 0 0 0]; 362s E135 = [0 0 0 0 0 362s 0 0 -0.50 -0.45 0 362s 0 0.5 0.45 0 0 362s 0 0 0 0 0 362s 0 0 0 0 0]; 362s 362s [~, ~, erg45, erg135] = edge (in, "roberts"); 362s assert (erg45, E45) 362s assert (erg135, E135) 362s ***** xtest 362s ## The edge image is correct and Matlab compatible so those should 362s ## pass. However, the threshold values used to generate the edge 362s ## image are not the same as Matlab. 362s 362s in_8 = fspecial ("gaussian", [8 8], 2); 362s in_8 /= in_8(4,4); 362s in_8_uint8 = im2uint8 (in_8); 362s 362s ## Matlab changed their implementation of the Canny method in 362s ## release 2011a. We are compatible with their new implementation 362s ## but for testing purposes, this is the expected result for the 362s ## old implementation. 362s out_8_old = logical ([ 362s 0 0 0 0 0 0 0 0 362s 0 0 0 1 1 0 0 0 362s 0 0 1 0 0 1 0 0 362s 0 1 0 0 0 0 1 0 362s 0 1 0 0 0 0 1 0 362s 0 0 1 0 0 1 0 0 362s 0 0 0 1 1 0 0 0 362s 0 0 0 0 0 0 0 0]); 362s 362s out_8 = logical ([ 362s 0 0 0 0 0 0 0 0 362s 0 1 1 1 1 1 0 0 362s 0 1 0 0 0 1 0 0 362s 0 1 0 0 0 1 0 0 362s 0 1 0 0 0 1 0 0 362s 0 1 1 1 1 1 0 0 362s 0 0 0 0 0 0 0 0 362s 0 0 0 0 0 0 0 0]); 362s out_thresh = [0.34375 0.859375]; 362s 362s [obs_edge, obs_thresh] = edge (in_8, "Canny"); 362s assert (obs_edge, out_8) 362s assert (obs_thresh, out_thresh) 362s 362s [obs_edge_givethresh, obs_thresh_givethresh] ... 362s = edge (in_8, "Canny", out_thresh); 362s assert (obs_edge_givethresh, out_8) 362s assert (obs_thresh_givethresh, out_thresh) 362s 362s [obs_edge_uint8, obs_thresh_uint8] = edge (in_8_uint8, "Canny"); 362s assert (obs_edge_uint8, out_8) 362s assert (obs_thresh_uint8, out_thresh) 362s !!!!! known failure 362s ASSERT errors for: assert (obs_thresh,out_thresh) 362s 362s Location | Observed | Expected | Reason 362s (1) 0.27112 0.34375 Abs err 0.072632 exceeds tol 0 by 0.07 362s (2) 0.67779 0.85938 Abs err 0.18158 exceeds tol 0 by 0.2 362s ***** xtest 362s ## The edge image is correct and Matlab compatible so those should 362s ## pass. However, the threshold values used to generate the edge 362s ## image are not the same as Matlab. 362s 362s in_9 = fspecial ("gaussian", [9 9], 2); 362s in_9 /= in_9(5,5); 362s 362s ## Matlab changed their implementation of the Canny method in 362s ## release 2011a. We are compatible with their new implementation 362s ## but for testing purposes, this is the expected result for the 362s ## old implementation. 362s out_9_old = logical ([ 362s 0 0 0 0 0 0 0 0 0 362s 0 0 0 0 0 0 0 0 0 362s 0 0 0 1 1 1 0 0 0 362s 0 0 1 0 0 0 1 0 0 362s 0 0 1 0 0 0 1 0 0 362s 0 0 1 0 0 0 1 0 0 362s 0 0 0 1 1 1 0 0 0 362s 0 0 0 0 0 0 0 0 0 362s 0 0 0 0 0 0 0 0 0]); 362s 362s out_9 = logical ([ 362s 0 0 0 0 0 0 0 0 0 362s 0 0 1 1 1 1 0 0 0 362s 0 1 1 0 0 1 1 0 0 362s 0 1 0 0 0 0 1 0 0 362s 0 1 0 0 0 0 1 0 0 362s 0 1 1 0 0 1 1 0 0 362s 0 0 1 1 1 1 0 0 0 362s 0 0 0 0 0 0 0 0 0 362s 0 0 0 0 0 0 0 0 0]); 362s out_thresh = [0.35 0.875]; 362s 362s [obs_edge, obs_thresh] = edge (in_9, "Canny"); 362s assert (obs_edge, out_9) 362s assert (obs_thresh, out_thresh) 362s 362s [obs_edge_givethresh, obs_thresh_givethresh] ... 362s = edge (in_9, "Canny", out_thresh); 362s assert (obs_edge_givethresh, out_9) 362s assert (obs_thresh_givethresh, out_thresh) 362s !!!!! known failure 362s ASSERT errors for: assert (obs_thresh,out_thresh) 362s 362s Location | Observed | Expected | Reason 362s (1) 0.261 0.35 Abs err 0.089001 exceeds tol 0 by 0.09 362s (2) 0.6525 0.875 Abs err 0.2225 exceeds tol 0 by 0.2 362s 24 tests, 22 passed, 2 known failures, 0 skipped 362s [inst/imlincomb.m] 362s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imlincomb.m 362s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20])), 362s uint8 ([153 15])); # default to first class and truncate 362s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), "uint16"), 362s uint16 ([153 15])); # defining output class works 362s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 10), 362s uint8 ([163 25])); # default to first class and truncate 362s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000, "uint16"), 362s uint16 ([1153 1015])); # defining output class works 362s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000), 362s uint8 ([255 255])); # defining output class works 362s 5 tests, 5 passed, 0 known failure, 0 skipped 362s [inst/graythresh.m] 362s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/graythresh.m 362s ***** shared img, histo 362s ## this is the old default.img that came with GNU Octave. While the current 362s ## is very very similar, is off just enough for us to get precision errors 362s 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])); 362s ***** assert (graythresh (img, "percentile"), 142/255); 362s ***** assert (graythresh (img, "percentile", 0.5), 142/255); 362s ***** assert (graythresh (img, "moments"), 142/255); 362s ***** assert (graythresh (img, "minimum"), 93/255); 363s ***** assert (graythresh (img, "maxentropy"), 150/255); 363s ***** assert (graythresh (img, "intermodes"), 99/255); 363s ***** assert (graythresh (img, "otsu"), 114.5/255); 363s histo = hist (img(:), 0:255); 363s ***** assert (graythresh (histo, "otsu"), 114.5/255); 363s ***** assert (graythresh (img, "mean"), 0.51445615982, 0.000000001); # here our results differ from ImageJ 363s ***** test 363s im = repmat (0.5, 100, 100); 363s [t, g] = graythresh (im); 363s assert (t, 0) 363s assert (g, 0) 363s ***** test 363s im = [-2 1 0; 43 .5 .2]; 363s clip_im = [ 0 1 0; 1 .5 .2]; 363s t = graythresh (clip_im); 363s assert (graythresh (im), t) 363s assert (graythresh (single (im)), t) 363s ***** test 363s H(1) = 100; 363s assert (graythresh (H), 0) 363s 12 tests, 12 passed, 0 known failure, 0 skipped 363s [inst/bwpack.m] 363s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwpack.m 363s ***** error id=Octave:invalid-fun-call bwpack () 363s ***** error id=Octave:invalid-input-arg bwpack ("text") 363s ***** xtest 363s ## bug #55521 363s assert (bwpack (eye (5)), uint32 ([1 2 4 8 16])) 363s !!!!! known failure 363s ASSERT errors for: assert (bwpack (eye (5)),uint32 ([1, 2, 4, 8, 16])) 363s 363s Location | Observed | Expected | Reason 363s (1) 16777216 1 Abs err 1.6777e+07 exceeds tol 0 by 2e+07 363s (2) 33554432 2 Abs err 3.3554e+07 exceeds tol 0 by 3e+07 363s (3) 67108864 4 Abs err 6.7109e+07 exceeds tol 0 by 7e+07 363s (4) 134217728 8 Abs err 1.3422e+08 exceeds tol 0 by 1e+08 363s (5) 268435456 16 Abs err 2.6844e+08 exceeds tol 0 by 3e+08 363s ***** xtest 363s ## bug #55521 363s assert (bwpack (repmat (eye (4), 15, 1)), 363s uint32 ([286331153 572662306 1145324612 2290649224 363s 17895697 35791394 71582788 143165576])) 363s !!!!! known failure 363s ASSERT errors for: assert (bwpack (repmat (eye (4), 15, 1)),uint32 ([286331153, 572662306, 1145324612, 2290649224; 17895697, 35791394, 71582788, 143165576])) 363s 363s Location | Observed | Expected | Reason 363s (2,1) 286331137 17895697 Abs err 2.6844e+08 exceeds tol 0 by 3e+08 363s (2,2) 572662274 35791394 Abs err 5.3687e+08 exceeds tol 0 by 5e+08 363s (2,3) 1145324548 71582788 Abs err 1.0737e+09 exceeds tol 0 by 1e+09 363s (2,4) 2290649096 143165576 Abs err 2.1475e+09 exceeds tol 0 by 2e+09 363s ***** xtest 363s ## bug #55521 363s assert (bwpack (ones (3, 3, 3, 3)), repmat (uint32 (7), 1, 3, 3, 3)) 363s !!!!! known failure 363s ASSERT errors for: assert (bwpack (ones (3, 3, 3, 3)),repmat (uint32 (7), 1, 3, 3, 3)) 363s 363s Location | Observed | Expected | Reason 363s (1,1,1,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,1,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,1,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,2,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,2,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,2,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,3,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,3,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,3,1) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,1,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,1,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,1,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,2,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,2,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,2,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,3,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,3,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,3,2) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,1,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,1,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,1,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,2,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,2,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,2,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,1,3,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,2,3,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s (1,3,3,3) 117440512 7 Abs err 1.1744e+08 exceeds tol 0 by 1e+08 363s ***** assert (bwpack (false (0, 10)), uint32 (zeros (0, 10))) 363s ***** assert (bwpack (false (0, 0)), uint32 (zeros (0, 0))) 363s ***** assert (bwpack (false (32, 0)), uint32 (zeros (1, 0))) 363s ***** assert (bwpack (false (33, 0)), uint32 (zeros (2, 0))) 363s ***** assert (bwpack (false (0, 10, 3)), uint32 (zeros (0, 10, 3))) 363s ***** assert (bwpack (false (33, 0, 3)), uint32 (zeros (2, 0, 3))) 363s ***** assert (bwpack (i), bwpack (logical (i))) 363s 12 tests, 9 passed, 3 known failures, 0 skipped 363s [inst/fspecial.m] 363s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/fspecial.m 363s ***** test 363s for i = 1:9 363s n = 2^i; 363s assert (sum (fspecial ("disk", n)(:)), 1, eps*n*n); 363s endfor 363s ***** test 363s for r = [3 5 9 17] 363s f = fspecial ("disk", r); 363s [X, Y] = meshgrid (-r:r, -r:r); 363s rhi = (abs (X) + 0.5).^2 + (abs (Y) + 0.5).^2; 363s rlo = (abs (X) - 0.5).^2 + (abs (Y) - 0.5).^2; 363s fhi = (rhi <= (r^2)); 363s flo = (rlo >= (r^2)); 363s for i = 1:(2*r+1) 363s for j = 1:(2*r+1) 363s if (fhi(i,j)) 363s assert (f(i,j), 1/(pi*r^2), eps); 363s endif 363s if (flo(i,j)) 363s assert (f(i,j), 0); 363s endif 363s endfor 363s endfor 363s endfor 365s ***** error 365s fspecial ("gaussian", 0) 365s ***** error 365s fspecial ("gaussian", 3.9) 365s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", 3, 0.5)) 365s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", [3 3], 0.5)) 365s ***** test 365s c = ([-1:1].^2) + ([-1:1]'.^2); 365s gauss = exp (- (c / (2 * (0.5 ^ 2)))); 365s f = gauss / sum (gauss(:)); 365s assert (fspecial ("gaussian"), f) 365s 365s expected = [ 365s 0.01134373655849507 0.08381950580221061 0.01134373655849507 365s 0.08381950580221061 0.61934703055717721 0.08381950580221061 365s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 365s assert (f, expected, eps) 365s ***** function f = f_gaussian_2d (hsize, sigma) 365s c = ([(-hsize(1)):(hsize(1))]'.^2) + ([(-hsize(2)):(hsize(2))].^2); 365s gauss = exp (- (c ./ (2 * (sigma .^ 2)))); 365s f = gauss ./ sum (gauss(:)); 365s ***** endfunction 365s ***** test 365s f = fspecial ("gaussian"); 365s assert (f, f_gaussian_2d ([1 1], .5)) 365s expected = [ 365s 0.01134373655849507 0.08381950580221061 0.01134373655849507 365s 0.08381950580221061 0.61934703055717721 0.08381950580221061 365s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 365s assert (f, expected, eps) 365s ***** test 365s f = fspecial ("gaussian", 7, 2); 365s assert (f, f_gaussian_2d ([3 3], 2)) 365s expected = [ 365s 0.00492233115934352 365s 0.00919612528958620 365s 0.01338028334410124 365s 0.01516184737296414 365s 0.01338028334410124 365s 0.00919612528958620 365s 0.00492233115934352 365s 0.00919612528958620 365s 0.01718062389630964 365s 0.02499766026691484 365s 0.02832606006174462 365s 0.02499766026691484 365s 0.01718062389630964 365s 0.00919612528958620 365s 0.01338028334410124 365s 0.02499766026691484 365s 0.03637138107390363 365s 0.04121417419979795 365s 0.03637138107390363 365s 0.02499766026691484 365s 0.01338028334410124 365s 0.01516184737296414 365s 0.02832606006174462 365s 0.04121417419979795 365s 0.04670177773892775]; 365s expected = reshape ([expected; expected((end-1):-1:1)], [7 7]); 365s assert (f, expected, eps) 365s ***** test 365s f = fspecial ("gaussian", [7 5], 2); 365s assert (f, f_gaussian_2d ([3 2], 2)) 365s expected = [ 365s 0.01069713252648568 365s 0.01998487459872362 365s 0.02907782096336423 365s 0.03294948784319031 365s 0.02907782096336423 365s 0.01998487459872362 365s 0.01069713252648568 365s 0.01556423598706978 365s 0.02907782096336423 365s 0.04230797985750011 365s 0.04794122192790870 365s 0.04230797985750011 365s 0.02907782096336423 365s 0.01556423598706978 365s 0.01763658993191515 365s 0.03294948784319031 365s 0.04794122192790870 365s 0.05432452146574315]; 365s expected = reshape ([expected; expected((end-1):-1:1)], [7 5]); 365s assert (f, expected, eps) 365s ***** test 365s f = fspecial ("gaussian", [4 2], 2); 365s expected = [0.10945587477855045 0.14054412522144952]; 365s expected = expected([1 1; 2 2; 2 2; 1 1]); 365s assert (f, expected, eps) 365s ***** test 365s expected =[0.04792235409415088 0.06153352068439959 0.07901060453704994]; 365s expected = expected([1 2 2 1; 2 3 3 2; 2 3 3 2; 1 2 2 1]); 365s assert (fspecial ("gaussian", 4, 2), expected) 365s ***** function f = f_gaussian_3d (lengths, sigma) 365s [x, y, z] = ndgrid (-lengths(1):lengths(1), -lengths(2):lengths(2), 365s -lengths(3):lengths(3)); 365s sig_22 = 2 * (sigma.^2); 365s f = exp (-((x.^2)/sig_22 + (y.^2)/sig_22 + (z.^2)/sig_22)); 365s f = f / sum (f(:)); 365s ***** endfunction 365s ***** test 365s obs = fspecial ("gaussian", [5 5 5]); 365s assert (obs, f_gaussian_3d ([2 2 2], .5)) 365s 365s u_values = [ 365s 0.00000000001837155 365s 0.00000000741161178 365s 0.00000005476481523 365s 0.00000299005759843 365s 0.00002209370333384 365s 0.00016325161336690 365s 0.00120627532940896 365s 0.00891323607975882 365s 0.06586040141635063 365s 0.48664620076350640]; 365s expected = zeros (5, 5, 5); 365s expected([1 5 21 25 101 105 121 125]) = u_values(1); 365s 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); 365s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 365s 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); 365s 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); 365s expected([13 53 61 65 73 113]) = u_values(6); 365s expected([32 34 42 44 82 84 92 94]) = u_values(7); 365s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 365s expected([38 58 62 64 68 88]) = u_values(9); 365s expected([63]) = u_values(10); 365s assert (obs, expected, 4 * eps) 365s ***** test 365s obs = fspecial ("gaussian", [5 5 5], 1); 365s assert (obs, f_gaussian_3d ([2 2 2], 1)) 365s 365s u_values = [ 365s 0.00016177781678373 365s 0.00072503787330278 365s 0.00119538536377748 365s 0.00324939431236223 365s 0.00535734551968363 365s 0.00883276951279243 365s 0.01456277497493249 365s 0.02400995686159072 365s 0.03958572658629712 365s 0.06526582943894763]; 365s expected = zeros (5, 5, 5); 365s expected([1 5 21 25 101 105 121 125]) = u_values(1); 365s 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); 365s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 365s 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); 365s 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); 365s expected([13 53 61 65 73 113]) = u_values(6); 365s expected([32 34 42 44 82 84 92 94]) = u_values(7); 365s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 365s expected([38 58 62 64 68 88]) = u_values(9); 365s expected([63]) = u_values(10); 365s assert (obs, expected, eps) 365s ***** test 365s obs = fspecial ("gaussian", [3 4 1 5], 3); 365s assert (find (obs == max (obs(:))), [29; 32]) 365s assert (size (obs), [3 4 1 5]) 365s assert (obs(:)(1:30), obs(:)(end:-1:31)) 365s ***** test 365s f = repmat (1/9, [3 3]); 365s assert (fspecial ("average", [3 3]), f) 365s 365s ## Test default 365s assert (fspecial ("average"), fspecial ("average", [3 3])) 365s assert (fspecial ("average"), fspecial ("average", [3])) 365s 365s f = repmat (1/21, [3 7]); 365s assert (fspecial ("average", [3 7]), f) 365s 365s f = repmat (1/40, [4 5 1 2]); 365s assert (fspecial ("average", [4 5 1 2]), f) 365s ## Behave even if it's a column vector 365s assert (fspecial ("average", [4 5 1 2]'), f) 365s 16 tests, 16 passed, 0 known failure, 0 skipped 365s [inst/lab2single.m] 365s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2single.m 365s ***** test 365s l_max_f = 100 + (25500 / 65280); 365s ab_max_f = 127 + (255 / 256); 365s cm = [ 365s -Inf 365s Inf 365s NaN 365s l_max_f 365s ab_max_f 365s -200 365s -129 365s -128 365s -128+(255/65280)*(0.499) 365s -128+(255/65280)*(0.500) 365s -128+(255/65280)*(0.501) 365s -127 365s -1 365s 0 365s (100/65280)*(0.499999) 365s (100/65280)*(0.51) 365s (100/65280)*(0.500001) 365s 1 365s 99 365s 100 365s 101 365s 126 365s 127 365s 128 365s 254 365s 255 365s 256 365s 257]; 365s cm = repmat (single (cm), [1 3]); 365s im2d = reshape (cm, [7 4 3]); 365s imnd = permute (im2d, [1 4 3 2]); 365s 365s cm_uint8 = uint8 ([ 365s 0 0 0 365s 255 255 255 365s 255 255 255 365s 255 228 228 365s 255 255 255 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 1 1 365s 0 127 127 365s 0 128 128 365s 0 128 128 365s 0 128 128 365s 0 128 128 365s 3 129 129 365s 252 227 227 365s 255 228 228 365s 255 229 229 365s 255 254 254 365s 255 255 255 365s 255 255 255 365s 255 255 255 365s 255 255 255 365s 255 255 255 365s 255 255 255]); 365s 365s assert (lab2uint8 (cm), cm_uint8) 365s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 365s assert (lab2uint8 (im2d), im2d_uint8) 365s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 365s 365s cm_uint16 = uint16 ([ 365s 0 0 0 365s 65535 65535 65535 365s 65535 65535 65535 365s 65535 58468 58468 365s 65535 65535 65535 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 0 0 365s 0 1 1 365s 0 1 1 365s 0 256 256 365s 0 32512 32512 365s 0 32768 32768 365s 0 32768 32768 365s 1 32768 32768 365s 1 32768 32768 365s 653 33024 33024 365s 64627 58112 58112 365s 65280 58368 58368 365s 65535 58624 58624 365s 65535 65024 65024 365s 65535 65280 65280 365s 65535 65535 65535 365s 65535 65535 65535 365s 65535 65535 65535 365s 65535 65535 65535 365s 65535 65535 65535]); 365s 365s assert (lab2uint16 (cm), cm_uint16) 365s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 365s assert (lab2uint16 (im2d), im2d_uint16) 365s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 365s 365s assert (lab2double (cm), double (cm)) 365s assert (lab2double (im2d), double (im2d)) 365s assert (lab2double (imnd), double (imnd)) 365s 1 test, 1 passed, 0 known failure, 0 skipped 365s [inst/bwmorph.m] 365s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwmorph.m 365s ***** demo 365s bwmorph (true (11), "shrink", Inf) 365s # Should return 0 matrix with 1 pixel set to 1 at (6,6) 365s ***** test 365s slBW = logical ([ 0 0 0 0 0 0 0 365s 0 1 0 0 0 0 0 365s 0 0 1 1 0 0 0 365s 0 0 1 1 0 0 0 365s 0 0 1 1 1 0 0 365s 0 0 1 1 1 0 0 365s 0 1 1 1 1 1 0 365s 0 1 1 1 1 1 0 365s 0 1 1 1 1 1 0 365s 0 1 1 1 1 1 0 365s 0 1 1 1 1 1 0 365s 0 0 0 0 0 0 0]); 365s 365s rslBW = logical ([ 0 0 0 0 0 0 0 365s 0 1 0 0 0 0 0 365s 0 0 1 1 0 0 0 365s 0 0 1 1 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 1 0 0 0 365s 0 0 0 1 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 1 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0]); 365s assert (bwmorph (slBW, "skel-lantuejoul", 1), [rslBW(1:5,:); false(7, 7)]); 365s assert (bwmorph (slBW, "skel-lantuejoul", 2), [rslBW(1:8,:); false(4, 7)]); 365s assert (bwmorph (slBW, "skel-lantuejoul", 3), rslBW); 365s assert (bwmorph (slBW, "skel-lantuejoul", Inf), rslBW); 365s ***** test 365s bw = [ 365s 0 1 1 1 1 1 365s 0 1 1 1 1 1 365s 0 1 1 1 1 1 365s 1 1 1 1 1 1 365s 1 1 1 1 1 1 365s 1 1 1 1 1 1 365s 1 1 1 1 1 0 365s 1 1 1 1 1 0 365s 1 1 1 1 1 0]; 365s 365s final = logical ([ 365s 0 1 0 0 0 1 365s 0 0 1 0 1 0 365s 0 0 0 1 0 0 365s 0 0 0 1 0 0 365s 0 0 1 1 0 0 365s 0 0 1 0 0 0 365s 0 0 1 0 0 0 365s 0 1 0 1 0 0 365s 1 0 0 0 1 0]); 365s assert (bwmorph (bw, "skel", Inf), final) 365s assert (bwmorph (bw, "skel", 3), final) 365s ***** error bwmorph ("not a matrix", "dilate") 365s ***** assert (bwmorph (magic (10), "dilate"), imdilate (logical (magic (10)), ones (3))); 365s ***** test 365s in = logical ([1 1 0 0 1 0 1 0 0 0 1 1 1 0 1 1 0 1 0 0 365s 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 0 0 0 0 0 365s 0 1 1 1 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 365s 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1 0 0 1 365s 0 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 0 365s 0 0 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 0 1 365s 0 1 1 1 1 1 1 0 1 1 1 0 0 0 1 0 0 1 0 0 365s 1 0 1 1 1 0 1 1 0 1 0 0 1 1 1 0 0 1 0 0 365s 1 0 1 1 1 0 1 0 0 1 0 0 1 1 0 0 1 1 1 0 365s 1 0 1 1 1 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 365s 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 1 0 1 1 365s 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 365s 0 0 1 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 1 1 365s 0 0 1 1 0 0 1 1 1 0 0 0 1 1 1 1 0 0 0 0 365s 0 0 1 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 0 0 365s 0 0 0 0 0 0 1 1 1 0 0 0 1 1 1 1 1 0 0 0 365s 0 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 1 1 1 1 365s 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 365s 0 0 1 1 0 1 1 1 1 0 0 0 0 1 1 0 1 1 1 1 365s 0 1 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1]); 365s se = strel ("arbitrary", ones (3)); 365s 365s assert (bwmorph (in, "dilate"), imdilate (in, se)); 365s assert (bwmorph (in, "dilate", 3), imdilate (imdilate (imdilate (in, se), se), se)); 365s assert (bwmorph (in, "bothat"), imbothat (in, se)); 365s assert (bwmorph (in, "tophat"), imtophat (in, se)); 365s assert (bwmorph (in, "open"), imopen (in, se)); 365s assert (bwmorph (in, "close"), imclose (in, se)); 365s ***** assert (bwmorph ([1 0 0; 1 0 1; 0 0 1], "bridge"), logical ([1 1 0; 1 1 1; 0 1 1])); 365s ***** assert (bwmorph ([0 0 0; 1 0 1; 0 0 1], "clean"), logical ([0 0 0; 0 0 1; 0 0 1])); 365s ***** assert (bwmorph ([0 0 0; 0 1 0; 0 0 0], "clean"), false (3)); 365s ***** assert (bwmorph ([0 1 0; 1 0 0; 0 0 0], "diag"), logical ([1 1 0; 1 1 0; 0 0 0])); 365s ***** test 365s in = logical ([0 1 0 1 0 365s 1 1 1 0 1 365s 1 0 0 1 0 365s 1 1 1 0 1 365s 1 1 1 1 1]); 365s out = logical ([0 1 0 1 0 365s 1 1 1 1 1 365s 1 0 0 1 0 365s 1 1 1 1 1 365s 1 1 1 1 1]); 365s assert (bwmorph (in, "fill"), out); 365s ***** assert (bwmorph ([1 1 1; 0 1 0; 1 1 1], "hbreak"), logical ([1 1 1; 0 0 0; 1 1 1])); 365s ***** test 365s in = logical ([0 1 0 0 0 365s 1 0 0 1 0 365s 1 0 1 0 0 365s 1 1 1 1 1 365s 1 1 1 1 1]); 365s 365s out = logical ([0 1 0 0 0 365s 1 0 0 1 0 365s 1 0 1 0 0 365s 1 1 0 1 1 365s 1 1 1 1 1]); 365s assert (bwmorph (in, "remove"), out); 365s 365s out = logical ([0 1 0 0 0 365s 1 0 0 1 0 365s 1 0 1 0 0 365s 1 1 0 1 1 365s 1 1 1 1 1]); 365s assert (bwmorph (in, "remove", Inf), out); 365s ***** xtest 365s ## tests for spur are failing (matlab incompatible) 365s in = logical ([0 1 0 0 0 365s 1 0 0 1 0 365s 1 0 1 0 0 365s 1 1 1 1 1 365s 1 1 1 1 1]); 365s 365s out = logical ([0 1 0 0 0 365s 1 0 0 0 0 365s 1 0 1 0 0 365s 1 1 1 1 1 365s 1 1 1 1 1]); 365s assert (bwmorph (in, "spur"), out); 365s 365s out = logical ([0 1 0 0 0 365s 1 0 0 0 0 365s 1 0 0 0 0 365s 1 1 1 1 1 365s 1 1 1 1 1]); 365s assert (bwmorph (in, "spur", Inf), out); 365s !!!!! known failure 365s ASSERT errors for: assert (bwmorph (in, "spur"),out) 365s 365s Location | Observed | Expected | Reason 365s (1,2) 0 1 Abs err 1 exceeds tol 0 by 1 365s ***** test 365s bw = false (3, 3); 365s bw(3, 1) = true; 365s out = bwmorph (bw, "thicken", 0); 365s assert (out, bw) 365s ***** test 365s bw = false (8, 7); 365s bw(8, 1) = true; 365s expected = logical ([ 365s 0 0 0 0 0 0 0 365s 1 0 0 0 0 0 0 365s 1 1 0 0 0 0 0 365s 1 1 1 0 0 0 0 365s 1 1 1 1 0 0 0 365s 1 1 1 1 1 0 0 365s 1 1 1 1 1 1 0 365s 1 1 1 1 1 1 1]); 365s out = bwmorph (bw, "thicken", 6); 365s assert (out, expected) 365s ***** test 365s bw = false (8, 7); 365s bw(2, 4) = true; 365s expected = logical ([ 365s 0 0 1 1 1 0 0 365s 0 1 1 1 1 1 0 365s 0 0 1 1 1 0 0 365s 0 0 0 1 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0]); 365s out = bwmorph (bw, "thicken", 2); 365s assert (out, expected) 365s ***** test 365s bw = false (8, 7); 365s bw (6, 3) = true ; 365s expected1 = logical ([ 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 1 0 0 0 0 365s 0 1 1 1 0 0 0 365s 0 0 1 0 0 0 0 365s 0 0 0 0 0 0 0]); 365s expected3 = logical ([ 365s 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 365s 0 0 1 0 0 0 0 365s 0 1 1 1 0 0 0 365s 1 1 1 1 1 0 0 365s 1 1 1 1 1 1 0 365s 1 1 1 1 1 0 0 365s 0 1 1 1 0 0 0]); 365s out1 = bwmorph (bw, "thicken", 1); 365s out3 = bwmorph (bw, "thicken", 3); 365s assert (out1, expected1) 365s assert (out3, expected3) 365s ***** test 365s bw = false (10, 10); 365s bw(2, 3) = true; 365s bw(7, 7) = true; 365s out_inf = bwmorph (bw, "thicken", Inf); 365s assert (out_inf(1, 9), false) 365s ***** test 365s bw = false (3, 3); 365s bw(3, 1) = true; 365s out = bwmorph (bw, "thicken", 4); 365s assert (out, true (3, 3)) 365s ***** xtest 365s ## bug #44396 365s in = [ 365s 0 0 0 1 0 365s 1 1 1 1 0 365s 0 0 1 1 0 365s 0 0 1 1 0 365s 0 0 0 1 0]; 365s out = [ 365s 0 0 0 0 0 365s 0 1 1 0 0 365s 0 0 0 1 0 365s 0 0 0 0 0 365s 0 0 0 0 0]; 365s assert (bwmorph (in, "shrink"), logical (out)); 365s !!!!! known failure 365s ASSERT errors for: assert (bwmorph (in, "shrink"),logical (out)) 365s 365s Location | Observed | Expected | Reason 365s (2,4) 1 0 Abs err 1 exceeds tol 0 by 1 365s (3,4) 0 1 Abs err 1 exceeds tol 0 by 1 365s (4,4) 1 0 Abs err 1 exceeds tol 0 by 1 365s (5,4) 1 0 Abs err 1 exceeds tol 0 by 1 365s ***** test 365s H = false (7,7); 365s H(2:3,2:3) = 1; 365s H(5:6,5:6) = 1; 365s T = logical([0 0 0 0 0 0 0; 365s 0 0 0 0 0 0 0; 365s 0 1 0 0 0 0 0; 365s 0 0 0 0 0 0 0; 365s 0 0 0 0 0 0 0; 365s 0 0 0 0 1 0 0; 365s 0 0 0 0 0 0 0]); 365s out = bwmorph (H, "thin", 1); 365s assert (T, out) 365s 365s H(4:6,4:6) = 1; 365s T = logical([0 0 0 0 0 0 0; 365s 0 0 0 0 0 0 0; 365s 0 1 1 0 0 0 0; 365s 0 0 0 1 0 0 0; 365s 0 0 0 0 1 0 0; 365s 0 0 0 0 0 0 0; 365s 0 0 0 0 0 0 0]); 365s out = bwmorph (H, "thin", 1); 365s assert (T, out) 365s 365s H3 = [0 0 0 0 0 0; 365s 0 1 1 1 0 0; 365s 0 1 1 1 0 0; 365s 0 0 0 1 0 1; 365s 0 0 0 0 1 1; 365s 0 0 0 1 1 1]; 365s out3 = bwmorph (H3, "thin", 1); 365s expected3 = logical( 365s [0 0 0 0 0 0; 365s 0 0 0 0 0 0; 365s 0 1 1 0 0 0; 365s 0 0 0 1 0 1; 365s 0 0 0 0 1 0; 365s 0 0 0 1 1 0]); 365s assert (out3, expected3) 365s 365s out33 = bwmorph (H3, "thin", 2); 365s expected33 = logical( 365s [0 0 0 0 0 0; 365s 0 0 0 0 0 0; 365s 0 1 1 0 0 0; 365s 0 0 0 1 0 1; 365s 0 0 0 0 1 0; 365s 0 0 0 1 0 0]); 365s assert (out33, expected33) 365s 365s out333 = bwmorph (H3, "thin", inf); 365s assert (out333, expected33) 365s ***** test 365s in = logical ([ 365s 1 0 0 0 365s 0 1 0 0 365s 0 0 1 0 365s 0 0 0 0]); 365s out = logical ([ 365s 1 0 0 0 365s 0 0 0 0 365s 0 0 1 0 365s 0 0 0 0]); 365s assert (bwmorph (in, "endpoints"), out); 365s 365s 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]); 365s 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]); 365s assert (bwmorph (A, "endpoints"), B); 365s 365s A = logical ([0 0 0 0 0 0 0 0 365s 1 1 0 0 0 0 1 1 365s 0 0 1 1 1 1 0 0 365s 0 0 0 1 1 0 0 0 365s 0 0 1 1 1 1 0 0 365s 0 1 0 0 0 0 1 0 365s 1 0 0 0 0 0 0 1]); 365s B = logical ([0 0 0 0 0 0 0 0 365s 1 0 0 0 0 0 0 1 365s 0 0 0 0 0 0 0 0 365s 0 0 0 1 1 0 0 0 365s 0 0 0 0 0 0 0 0 365s 0 0 0 0 0 0 0 0 365s 1 0 0 0 0 0 0 1]); 365s assert (bwmorph (A, "endpoints"), B); 365s 365s 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]); 365s 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]); 365s assert (bwmorph (A, "endpoints"), B); 365s assert (bwmorph (B, "endpoints"), zeros (5, "logical")); 365s 365s A = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 365s 0,0,1,1,1,1,1,1,1,1,1,1,0,0 365s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 365s B = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 365s 0,0,1,0,0,0,0,0,0,0,0,1,0,0 365s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 365s C = logical([1,0,0,0,0,0,0,0,0,0,0,0,0,1 365s 1,1,0,0,0,0,0,0,0,0,0,0,1,1 365s 1,0,0,0,0,0,0,0,0,0,0,0,0,1]); 365s assert (bwmorph (!A, "endpoints"), C); 365s 22 tests, 20 passed, 2 known failures, 0 skipped 365s [inst/rgb2ycbcr.m] 365s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/rgb2ycbcr.m 365s ***** test 365s in(:,:,1) = magic (5); 365s in(:,:,2) = magic (5); 365s in(:,:,3) = magic (5); 365s out(:,:,1) = [31 37 17 23 29 365s 36 20 22 28 30 365s 19 21 27 33 35 365s 25 26 32 34 19 365s 25 31 37 18 24]; 365s out(:,:,2) = 128; 365s out(:,:,3) = 128; 365s assert (rgb2ycbcr (uint8 (in)), uint8 (out)); 365s ***** shared cbcr 365s cbcr = 0.5019607843137255; 365s out(1:10, 1) = linspace (16/255, 235/255, 10); 365s out(:, [2 3]) = cbcr; 365s assert (rgb2ycbcr (gray (10)), out, 0.00001); 365s ***** assert (rgb2ycbcr ([1 1 1]), [0.92157 cbcr cbcr], 0.0001); 365s ***** assert (class (rgb2ycbcr (single (rand (5, 5, 3)))), "single") 365s 3 tests, 3 passed, 0 known failure, 0 skipped 365s [inst/imsmooth.m] 365s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imsmooth.m 365s ***** test 365s ## checking Bilateral Filter 365s 365s ## constant image remain the same after Bilateral Filter 365s A = uint8(255*ones(128,128)); 365s B = uint8(imsmooth(A, 'Bilateral', 2, 10)); 365s assert (A,B); 365s 365s ## Bilateral Filter does not smear outlayers 365s A = zeros(256,256); 365s A(128,128) = 256; 365s ## bilateral filter does not smear outlayers 365s B = imsmooth(A, 'Bilateral', 2, 10); 365s assert (A,B,1.e-140); 365s 365s ## When sigma_r is large the filter behaves almost 365s ## like the isotropic Gaussian filter 365s 365s A0 = fspecial ('gaussian',100,100); 365s A = uint8(A0/max(max(A0))*255); 365s B1 = imsmooth(A, 'Bilateral', 2, 100); 365s B2 = imsmooth(A, 'Gaussian', 2); 365s assert (B1,B2); 367s 1 test, 1 passed, 0 known failure, 0 skipped 367s [inst/iptcheckmap.m] 367s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/iptcheckmap.m 367s ***** test ("iptcheckmap (jet(64), 'func', 'var', 2)"); # simple must work 367s ***** fail ("iptcheckmap (3, 'func', 'var', 2)"); # not a colormap 367s 2 tests, 2 passed, 0 known failure, 0 skipped 367s [inst/affine2d.m] 367s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/affine2d.m 367s ***** test 367s theta = 10; 367s A = [cosd(theta) -sind(theta) 0 367s sind(theta) cosd(theta) 0 367s 0 0 1]; 367s tform = affine2d (A); 367s [X, Y] = transformPointsForward (tform, 5, 10); 367s assert (X, 6.6605, 1.e-4) 367s assert (Y, 8.9798, 1.e-4) 367s 367s [U, V] = transformPointsInverse (tform, X, Y); 367s assert (U, 5, 5*eps) 367s assert (V, 10, 9*eps) 367s assert (isRigid (tform)) 367s assert (! isTranslation (tform)) 367s assert (isSimilarity (tform)) 367s ***** test 367s theta = 30; 367s tform = affine2d([ cosd(theta) sind(theta) 0 367s -sind(theta) cosd(theta) 0 367s 0 0 1]); 367s assert (tform.T, [ 0.86603 0.5 0 367s -0.5 0.86603 0 367s 0 0 1], 1.e-5); 367s invtform = invert(tform); 367s assert (invtform.T, [ 0.86603 -0.5 0 367s 0.5 0.86603 0 367s 0 0 1], 1.e-5); 367s assert (isRigid (tform)) 367s assert (! isTranslation (tform)) 367s assert (isSimilarity (tform)) 367s ***** test 367s tform = affine2d ([1 0 0; 0 1 0; 5 10 1]); 367s [X, Y] = transformPointsForward (tform, [1 2; 3 4; 5 6; 7 8]); 367s assert (round (X), [6; 8; 10; 12]) 367s assert (round (Y), [12; 14; 16; 18]) 367s 367s [U, V] = transformPointsInverse (tform, X, Y); 367s assert (round (U), [1; 3; 5; 7]) 367s assert (round (V), [2; 4; 6; 8]) 367s assert (isRigid (tform)) 367s assert (isTranslation (tform)) 367s assert (isSimilarity (tform)) 367s ***** test 367s tform = affine2d ([1 1e-16 0; 1e-16 1 0; 5 10 1]); 367s assert (isRigid (tform)) 367s tform = affine2d ([2 1e-16 0; 1e-16 1 0; 5 10 1]); 367s assert (! isRigid (tform)) 367s ***** test 367s theta = 10; 367s A = [cosd(theta) -sind(theta) 0 367s sind(theta) cosd(theta) 0 367s 0 0 1]; 367s tform = affine2d (A); 367s [xlim, ylim] = outputLimits (tform, [1 240], [1 291]); 367s assert (xlim, [1.1585 286.8855], 1.e-4) 367s assert (ylim, [-40.6908 286.4054], 1.e-4) 367s ***** test 367s A = [1 0 0 367s 0 1 0 367s 40 40 1]; 367s tform = affine2d (A); 367s assert (isRigid (tform)); 367s assert (isSimilarity (tform)); 367s assert (isTranslation (tform)); 367s ***** test 367s a = invert (affine2d ([1 2 0; 3 4 0; 10 20 1])); 367s b = affine2d(a.T); 367s assert (b.T, [-2, 1, 0; 1.5, -0.5, 0; -10, 0, 1], 5*eps) 367s ***** assert (isTranslation (affine2d ([1, 0, 0; 0, 1, 0; 40, 40, 1]))) 367s ***** assert (! isTranslation (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 367s ***** assert (! isRigid (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 367s ***** error affine2d ([0 0 0; 0 0 0]) 367s ***** error affine2d ([0 0 0 0 0 0 0 0 1]) 367s ***** error affine2d ([0 0 0; 0 0 0; 0 0 0]) 367s ***** error affine2d ([1 0 0; 0 1 1; 0 0 1]) 367s ***** error affine2d ([0 0 0; 0 0 0; 0 0 1]) 367s ***** error affine2d (1, 2) 367s ***** error outputLimits (affine2d()) 367s ***** test 367s tform = affine2d; 367s assert (tform.T, eye (3)) 367s assert (tform.Dimensionality, 2) 367s 18 tests, 18 passed, 0 known failure, 0 skipped 367s [inst/imextendedmax.m] 367s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imextendedmax.m 367s ***** shared im0, bw0_h2_out 367s im0 = uint8 ([0 0 0 0 0; 367s 0 1 2 1 0; 367s 0 2 5 2 0; 367s 0 1 2 1 0; 367s 0 0 0 0 0]); 367s bw0_h2_out = false (5); 367s bw0_h2_out(3,3) = true; 367s ***** error imextendedmax () 367s ***** error imextendedmax (im0) 367s ***** error imextendedmax ("hello", 2) 367s ***** error imextendedmax (i.*im0, 2) 367s ***** error imextendedmax (sparse (im0), 2) 367s ***** error imextendedmax (im0, -2) 367s ***** error imextendedmax (im0, 'a') 367s ***** error imextendedmax (im0, ones (2)) 367s ***** error imextendedmax (im0, 2*i) 367s ***** assert (imextendedmax (im0, 2), bw0_h2_out) 367s ***** assert (imextendedmax (double (im0), 2), bw0_h2_out) 367s ***** assert (imextendedmax (im0, 2, 8), bw0_h2_out) 367s ***** assert (imextendedmax (im0, 2, 4), bw0_h2_out) 367s ***** assert (imextendedmax (im0, 2, true (3)), bw0_h2_out) 367s ***** test 367s out = imextendedmax (im0, 2); 367s assert (size (out), size (im0)) 367s assert (class (out), "logical") 367s ***** test 367s out = imextendedmax (single (im0), 2); 367s assert (size (out), size (im0)) 367s assert (class (out), "logical") 367s ***** test 367s out = imextendedmax (uint8 (im0), 2); 367s assert (size (out), size (im0)) 367s assert (class (out), "logical") 367s ***** test 367s out = imextendedmax (uint16 (im0), 2); 367s assert (size (out), size (im0)) 367s assert (class (out), "logical") 367s ***** test 367s im = cat (3, im0, im0, im0, im0); 367s out = imextendedmax (im, 2); 367s assert (size (out), size (im)) 367s ***** test 367s im = zeros (10); 367s im(2:4, 2:4) = 3; 367s im(6:8, 6:8) = 8; 367s expected_4 = false (10); 367s expected_4(6:8, 6:8) = true; 367s expected_2 = expected_4; 367s expected_2(2:4, 2:4) = true; 367s out = imextendedmax (im, 4); 367s assert (out, expected_4, eps) 367s out = imextendedmax (0.1.*im, 0.4); 367s assert (out, expected_4, eps) 367s out = imextendedmax (im, 2); 367s assert (out, expected_2, eps) 367s ***** test 367s im2 = zeros (10); 367s im2(2:4, 2:4) = 3; 367s im2(6:9, 6:9)=8; 367s im2(5, 5)=8; 367s im2(6, 7)=0; 367s im2(7, 8)=0; 367s expected_8 = false (10); 367s expected_8(6:9, 6:9) = true; 367s expected_8(5, 5) = true; 367s expected_8(6, 7) = false; 367s expected_8(7, 8) = false; 367s expected_4 = expected_8; 367s expected_4(2:4, 2:4) = true; 367s out2 = imextendedmax (im2, 2); 367s assert (out2, expected_8, eps) 367s out2 = imextendedmax (im2, 2, 4); 367s assert (out2, expected_4, eps) 367s out2 = imextendedmax (im2, 2, 8); 367s assert (out2, expected_8, eps) 367s 21 tests, 21 passed, 0 known failure, 0 skipped 367s [inst/iradon.m] 367s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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); 371s ***** demo 371s P = phantom (); 371s figure, imshow (P, []), title ("Original image") 371s projections = radon (P, 0:179); 371s reconstruction = iradon (projections, 0:179, 'Spline', 'Hann'); 371s figure, imshow (reconstruction, []), title ("Reconstructed image") 371s 35 tests, 35 passed, 0 known failure, 0 skipped 371s [inst/padarray.m] 371s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/padarray.m 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1]) 371s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 0 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1],5) 371s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 5 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1],0,'pre') 371s % pads [1,2,3;4,5,6] with a left and top border of 2 rows and 1 columns of 0 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1],'circular') 371s % pads [1,2,3;4,5,6] with a whole 'circular' border of 2 rows and 1 columns 371s % border 'repeats' data as if we tiled blocks of data 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1],'replicate') 371s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 371s % 'replicates' edge data 371s ***** demo 371s padarray([1,2,3;4,5,6],[2,1],'symmetric') 371s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 371s % is symmetric to the data on the edge 371s ***** assert (padarray ([1;2], [1]), [0;1;2;0]); 371s ***** assert (padarray ([3 4], [0 2]), [0 0 3 4 0 0]); 371s ***** assert (padarray ([1 2 3; 4 5 6], [1 2]), 371s [zeros(1, 7); 0 0 1 2 3 0 0; 0 0 4 5 6 0 0; zeros(1, 7)]); 371s ***** test 371s assert (padarray ([1 2 3; 4 5 6], [3 2 1]), 371s cat(3, zeros(8, 7), 371s [ [ zeros(3, 7) ] 371s [zeros(2, 2) [1 2 3; 4 5 6] zeros(2, 2) ] 371s [ zeros(3,7)] ], 371s zeros (8, 7))); 371s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], 0)); 371s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], "both")); 371s ***** assert (padarray ([1;2], [1], i), [i; 1; 2; i]); 371s ***** assert (padarray ([1;2], [1], i, "pre"), [i; 1; 2]); 371s ***** assert (padarray ([1;2], [1], i, "post"), [1; 2; i]); 371s ***** assert (padarray ([1;2], [1], i, "both"), [i; 1; 2; i]); 371s ***** assert (padarray ([1 2], [0 1], i, "pre"), [i 1 2]); 371s ***** assert (padarray ([1 2], [0 1], i, "post"), [1 2 i]); 371s ***** assert (padarray ([1 2], [0 1], i, "both"), [i 1 2 i]); 371s ***** assert (padarray ([1 2], [0;1], i, "both"), [i 1 2 i]); 371s ***** test 371s A = [1 2 3; 4 5 6]; 371s B = repmat (A, 7, 9); 371s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 371s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 371s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 371s ## This tests when padding is bigger than data 371s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 371s ***** test 371s A = int8 ([1 2 3; 4 5 6]); 371s B = repmat (A, 7, 9); 371s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 371s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 371s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 371s ## This tests when padding is bigger than data 371s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 371s ***** test 371s A = [1 2; 3 4]; 371s B = kron (A, ones (10, 5)); 371s assert (padarray (A, [9 4], "replicate", "pre"), B(1:11,1:6)); 371s assert (padarray (A, [9 4], "replicate", "post"), B(10:20,5:10)); 371s assert (padarray (A, [9 4], "replicate", "both"), B); 371s ## same with uint class 371s assert (padarray (uint8 (A), [9 4], "replicate", "pre"), uint8 (B(1:11,1:6))); 371s assert (padarray (uint8 (A), [9 4], "replicate", "post"), uint8 (B(10:20,5:10))); 371s assert (padarray (uint8 (A), [9 4], "replicate", "both"), uint8 (B)); 371s ***** test 371s A = [1:3 371s 4:6]; 371s HA = [3:-1:1 371s 6:-1:4]; 371s VA = [4:6 371s 1:3]; 371s VHA = [6:-1:4 371s 3:-1:1]; 371s B = [VHA VA VHA 371s HA A HA 371s VHA VA VHA]; 371s assert (padarray (A, [1 2], "symmetric", "pre"), B(2:4,2:6)); 371s assert (padarray (A, [1 2], "symmetric", "post"), B(3:5,4:8)); 371s assert (padarray (A, [1 2], "symmetric", "both"), B(2:5,2:8)); 371s ## same with int class 371s assert (padarray (int16 (A), [1 2], "symmetric", "pre"), int16 (B(2:4,2:6))); 371s assert (padarray (int16 (A), [1 2], "symmetric", "post"), int16 (B(3:5,4:8))); 371s assert (padarray (int16 (A), [1 2], "symmetric", "both"), int16 (B(2:5,2:8))); 371s ***** assert (padarray (int8 ([1; 2]), [1]), int8 ([0; 1; 2; 0])); 371s ***** assert (padarray (uint8 ([3 4]), [0 2]), uint8 ([0 0 3 4 0 0])); 371s ***** assert (padarray (int16 ([1; 2]), [1], 4), int16 ([4; 1; 2; 4])); 371s ***** assert (padarray (uint16 ([1; 2]), [1], 0), uint16 ([0; 1; 2; 0])); 371s ***** assert (padarray (uint32 ([1; 2]), [1], 6, "post"), uint32 ([1; 2; 6])); 371s ***** assert (padarray (int32 ([1; 2]), [1], int32 (4), "pre"), int32 ([4; 1; 2])); 371s ***** test 371s in = [ 7 5 1 3 371s 5 3 3 4 371s 7 5 2 3 371s 6 1 3 8]; 371s padded = [ 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 371s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 371s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2]; 371s for ite = 1:10 371s assert (padarray (in, [ite ite], "symmetric"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 371s assert (padarray (in, [ite ite], "symmetric", "pre"), padded((11-ite):14,(11-ite):14)); 371s assert (padarray (in, [ite ite], "symmetric", "post"), padded(11:(14+ite),11:(14+ite))); 371s endfor 371s ***** test 371s in = [ 7 5 4 9 371s 6 4 5 1 371s 5 3 3 3 371s 2 6 7 3]; 371s padded = [ 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 371s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 371s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 371s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4]; 371s for ite = 1:10 371s assert (padarray (in, [ite ite], "reflect"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 371s assert (padarray (in, [ite ite], "reflect", "pre"), padded((11-ite):14,(11-ite):14)); 371s assert (padarray (in, [ite ite], "reflect", "post"), padded(11:(14+ite),11:(14+ite))); 371s endfor 371s 26 tests, 26 passed, 0 known failure, 0 skipped 371s [inst/bwunpack.m] 371s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwunpack.m 371s ***** error id=Octave:invalid-fun-call bwunpack () 371s ***** error bwunpack (uint8 (1)) 371s ***** error bwunpack (uint32 (1), -1) 371s ***** error bwunpack (uint32 (1), 4.2) 371s ***** xtest 371s ## bug #55521 371s assert (bwunpack (uint32 (2.^[0:31])), logical (eye (32))) 371s !!!!! known failure 371s ASSERT errors for: assert (bwunpack (uint32 (2 .^ [0:31])),logical (eye (32))) 371s 371s Location | Observed | Expected | Reason 371s (1,1) 0 1 Abs err 1 exceeds tol 0 by 1 371s (25,1) 1 0 Abs err 1 exceeds tol 0 by 1 371s (2,2) 0 1 Abs err 1 exceeds tol 0 by 1 371s (26,2) 1 0 Abs err 1 exceeds tol 0 by 1 371s (3,3) 0 1 Abs err 1 exceeds tol 0 by 1 371s (27,3) 1 0 Abs err 1 exceeds tol 0 by 1 371s (4,4) 0 1 Abs err 1 exceeds tol 0 by 1 371s (28,4) 1 0 Abs err 1 exceeds tol 0 by 1 371s (5,5) 0 1 Abs err 1 exceeds tol 0 by 1 371s (29,5) 1 0 Abs err 1 exceeds tol 0 by 1 371s (6,6) 0 1 Abs err 1 exceeds tol 0 by 1 371s (30,6) 1 0 Abs err 1 exceeds tol 0 by 1 371s (7,7) 0 1 Abs err 1 exceeds tol 0 by 1 371s (31,7) 1 0 Abs err 1 exceeds tol 0 by 1 371s (8,8) 0 1 Abs err 1 exceeds tol 0 by 1 371s (32,8) 1 0 Abs err 1 exceeds tol 0 by 1 371s (9,9) 0 1 Abs err 1 exceeds tol 0 by 1 371s (17,9) 1 0 Abs err 1 exceeds tol 0 by 1 371s (10,10) 0 1 Abs err 1 exceeds tol 0 by 1 371s (18,10) 1 0 Abs err 1 exceeds tol 0 by 1 371s (11,11) 0 1 Abs err 1 exceeds tol 0 by 1 371s (19,11) 1 0 Abs err 1 exceeds tol 0 by 1 371s (12,12) 0 1 Abs err 1 exceeds tol 0 by 1 371s (20,12) 1 0 Abs err 1 exceeds tol 0 by 1 371s (13,13) 0 1 Abs err 1 exceeds tol 0 by 1 371s (21,13) 1 0 Abs err 1 exceeds tol 0 by 1 371s (14,14) 0 1 Abs err 1 exceeds tol 0 by 1 371s (22,14) 1 0 Abs err 1 exceeds tol 0 by 1 371s (15,15) 0 1 Abs err 1 exceeds tol 0 by 1 372s (23,15) 1 0 Abs err 1 exceeds tol 0 by 1 372s (16,16) 0 1 Abs err 1 exceeds tol 0 by 1 372s (24,16) 1 0 Abs err 1 exceeds tol 0 by 1 372s (9,17) 1 0 Abs err 1 exceeds tol 0 by 1 372s (17,17) 0 1 Abs err 1 exceeds tol 0 by 1 372s (10,18) 1 0 Abs err 1 exceeds tol 0 by 1 372s (18,18) 0 1 Abs err 1 exceeds tol 0 by 1 372s (11,19) 1 0 Abs err 1 exceeds tol 0 by 1 372s (19,19) 0 1 Abs err 1 exceeds tol 0 by 1 372s (12,20) 1 0 Abs err 1 exceeds tol 0 by 1 372s (20,20) 0 1 Abs err 1 exceeds tol 0 by 1 372s (13,21) 1 0 Abs err 1 exceeds tol 0 by 1 372s (21,21) 0 1 Abs err 1 exceeds tol 0 by 1 372s (14,22) 1 0 Abs err 1 exceeds tol 0 by 1 372s (22,22) 0 1 Abs err 1 exceeds tol 0 by 1 372s (15,23) 1 0 Abs err 1 exceeds tol 0 by 1 372s (23,23) 0 1 Abs err 1 exceeds tol 0 by 1 372s (16,24) 1 0 Abs err 1 exceeds tol 0 by 1 372s (24,24) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,25) 1 0 Abs err 1 exceeds tol 0 by 1 372s (25,25) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,26) 1 0 Abs err 1 exceeds tol 0 by 1 372s (26,26) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,27) 1 0 Abs err 1 exceeds tol 0 by 1 372s (27,27) 0 1 Abs err 1 exceeds tol 0 by 1 372s (4,28) 1 0 Abs err 1 exceeds tol 0 by 1 372s (28,28) 0 1 Abs err 1 exceeds tol 0 by 1 372s (5,29) 1 0 Abs err 1 exceeds tol 0 by 1 372s (29,29) 0 1 Abs err 1 exceeds tol 0 by 1 372s (6,30) 1 0 Abs err 1 exceeds tol 0 by 1 372s (30,30) 0 1 Abs err 1 exceeds tol 0 by 1 372s (7,31) 1 0 Abs err 1 exceeds tol 0 by 1 372s (31,31) 0 1 Abs err 1 exceeds tol 0 by 1 372s (8,32) 1 0 Abs err 1 exceeds tol 0 by 1 372s (32,32) 0 1 Abs err 1 exceeds tol 0 by 1 372s ***** xtest 372s ## bug #55521 372s assert (bwunpack (uint32 (repmat (7, [1 3 3 3])), 3), true (3, 3, 3, 3)) 372s !!!!! known failure 372s ASSERT errors for: assert (bwunpack (uint32 (repmat (7, [1, 3, 3, 3])), 3),true (3, 3, 3, 3)) 372s 372s Location | Observed | Expected | Reason 372s (1,1,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,1,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,2,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,3,1) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,1,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,2,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,3,2) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,1,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,2,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,1,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,1,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,1,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,2,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,2,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,2,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (1,3,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (2,3,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s (3,3,3,3) 0 1 Abs err 1 exceeds tol 0 by 1 372s ***** assert (bwunpack (uint32 (zeros (0, 0))), false (0, 0)) 372s ***** assert (bwunpack (uint32 (zeros (0, 0)), 0), false (0, 0)) 372s ***** assert (bwunpack (uint32 (zeros (0, 5)), 0), false (0, 5)) 372s ***** assert (bwunpack (uint32 (zeros (0, 5, 7)), 0), false (0, 5, 7)) 372s ***** assert (bwunpack (uint32 (zeros (1, 0))), false (32, 0)) 372s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 372s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 372s ***** assert (bwunpack (uint32 (zeros (2, 0, 7)), 60), false (60, 0, 7)) 372s ***** error 372s bwunpack (uint32 (1), 1042) 372s 15 tests, 13 passed, 2 known failures, 0 skipped 372s [inst/imregionalmin.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imregionalmin.m 372s ***** test 372s a = [ 372s 7 3 9 3 10 3 372s 4 2 3 10 1 3 372s 1 4 6 9 4 10 372s 8 7 9 3 4 8 372s 5 9 3 3 8 9 372s 3 6 9 4 1 10]; 372s 372s a4 = logical ([ 372s 0 0 0 1 0 0 372s 0 1 0 0 1 0 372s 1 0 0 0 0 0 372s 0 0 0 1 0 0 372s 0 0 1 1 0 0 372s 1 0 0 0 1 0]); 372s assert (imregionalmin (a, 4), a4) 372s assert (imregionalmin (uint8 (a), 4), a4) 372s assert (imregionalmin (int8 (a), 4), a4) 372s 372s a8 = logical ([ 372s 0 0 0 0 0 0 372s 0 0 0 0 1 0 372s 1 0 0 0 0 0 372s 0 0 0 0 0 0 372s 0 0 0 0 0 0 372s 1 0 0 0 1 0]); 372s assert (imregionalmin (a), a8) 372s assert (imregionalmin (a, 8), a8) 372s assert (imregionalmin (uint8 (a), 8), a8) 372s assert (imregionalmin (int8 (a), 8), a8) 372s ***** test 372s a = [ 372s 4 8 5 -1 8 7 372s -1 4 0 7 1 1 372s 6 1 2 6 7 0 372s 6 1 5 -2 5 9 372s 1 4 -1 0 0 2 372s 4 6 1 0 7 1]; 372s 372s a4 = logical ([ 372s 0 0 0 1 0 0 372s 1 0 1 0 0 0 372s 0 1 0 0 0 1 372s 0 1 0 1 0 0 372s 1 0 1 0 0 0 372s 0 0 0 0 0 1]); 372s assert (imregionalmin (a, 4), a4) 372s assert (imregionalmin (int8 (a), 4), a4) 372s 372s a8 = logical ([ 372s 0 0 0 1 0 0 372s 1 0 0 0 0 0 372s 0 0 0 0 0 1 372s 0 0 0 1 0 0 372s 0 0 0 0 0 0 372s 0 0 0 0 0 0]); 372s assert (imregionalmin (a), a8) 372s assert (imregionalmin (a, 8), a8) 372s assert (imregionalmin (int8 (a), 8), a8) 372s ***** test 372s ## test float input images 372s im0 = peaks (); 372s im1 = im0 ./ 100; 372s max_pos_expected = [1; 49; 664; 1286; 1302; 2401]; 372s max0 = imregionalmin (im0); 372s max0_pos = find (max0); 372s max1 = imregionalmin (im1); 372s assert (max1, max0) 372s assert (max0_pos, max_pos_expected) 372s 3 tests, 3 passed, 0 known failure, 0 skipped 372s [inst/imadd.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imadd.m 372s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250])), uint8 ([46 255])); # default to first class and truncate 372s ***** assert (imadd (uint8 ([23 250]), 10), uint8 ([33 255])); # works adding a scalar 372s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250]), "uint16"), uint16 ([46 500])); # defining output class works 372s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1])), double ([ 2 1])); # return double for two logical images 372s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 1 1])); # this is matlab incompatible on purpose 372s ***** fail ("imadd (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 372s 6 tests, 6 passed, 0 known failure, 0 skipped 372s [inst/lab2uint8.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2uint8.m 372s ***** test 372s cm_uint8 = uint8 ([0 1 2 3 4 127 128 200 254 255]); 372s cm_uint8 = repmat (cm_uint8(:), [1 3]); 372s im2d_uint8 = reshape (cm_uint8, [5 2 3]); 372s imnd_uint8 = permute (im2d_uint8, [1 4 3 2]); 372s 372s cm_uint16 = uint16 ([0 256 512 768 1024 32512 32768 51200 65024 65280]); 372s cm_uint16 = repmat (cm_uint16(:), [1 3]); 372s assert (lab2uint16 (cm_uint8), cm_uint16) 372s im2d_uint16 = reshape (cm_uint16, [5 2 3]); 372s assert (lab2uint16 (im2d_uint8), im2d_uint16) 372s assert (lab2uint16 (imnd_uint8), permute (im2d_uint16, [1 4 3 2])) 372s 372s l1 = 100/255; 372s cm = [ 372s 0 -128 -128 372s l1 -127 -127 372s 2*l1 -126 -126 372s 3*l1 -125 -125 372s 4*l1 -124 -124 372s 127*l1 -1 -1 372s 128*l1 0 0 372s 200*l1 72 72 372s 254*l1 126 126 372s 100 127 127]; 372s im2d = reshape (cm, [5 2 3]); 372s imnd = permute (im2d, [1 4 3 2]); 372s 372s assert (lab2double (cm_uint8), cm) 372s assert (lab2double (im2d_uint8), im2d) 372s assert (lab2double (imnd_uint8), imnd) 372s 372s assert (lab2single (cm_uint8), single (cm)) 372s assert (lab2single (im2d_uint8), single (im2d)) 372s assert (lab2single (imnd_uint8), single (imnd)) 372s 1 test, 1 passed, 0 known failure, 0 skipped 372s [inst/viscircles.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/viscircles.m 372s ***** demo 372s centers = randi ([0 100], 5, 2); 372s radii = randi ([10 100], 5, 1); 372s axis equal 372s viscircles (centers, radii, 372s "Color", "magenta", 372s "LineStyle", ":", 372s "LineWidth", 5); 372s title ("5 random circles"); 372s #---------------------------------------------- 372s # the figure window shows 5 circles with random 372s # radii and positions 372s ***** test # old undocumented property 372s h = viscircles ([0 0], 1, "EdgeColor", "black"); 372s assert (get (get (h, "children")(1), "color"), [0 0 0]) 372s ***** test # old undocumented property 372s h = viscircles ([0 0], 1, "DrawBackgroundCircle", false); 372s assert (numel (get (h, "children")), 1) 372s ***** error ... 372s viscircles ([0 0], 1, "Color", "magenta", "EdgeColor", "black") 372s ***** test 372s centers = randi ([0 100], 5, 2); 372s radii = randi ([0 100], 5, 1); 372s h = viscircles (centers, radii); 372s close; 372s ***** test 372s centers = randi ([0 100], 5, 2); 372s radii = randi ([0 100], 5, 1); 372s figure (); 372s h = viscircles (gca (), centers, radii); 372s close; 372s ***** test 372s centers = randi ([0 100], 5, 2); 372s radii = randi ([0 100], 5, 1); 372s h = viscircles (centers, radii, "Color", "magenta", 372s "LineStyle", ":", "LineWidth", 5); 372s close; 372s ***** test 372s centers = randi ([0 100],5,2); 372s radii = randi ([0 100],5,1); 372s figure (); 372s h = viscircles (centers, radii, "Color", "magenta", 372s "LineStyle", ":", "LineWidth", 5); 372s close; 372s 7 tests, 7 passed, 0 known failure, 0 skipped 372s [inst/psf2otf.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/psf2otf.m 372s ***** test 372s psf = rand (6, 1); 372s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 372s ***** test 372s psf = rand (6, 6); 372s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 372s ***** test 372s psf = rand (6, 6, 6); 372s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -3])), eps); 372s ***** test 372s psf = rand (7, 1); 372s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 372s ***** test 372s psf = rand (7, 7); 372s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 372s ***** test 372s psf = rand (6, 7, 8); 372s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -4])), eps); 372s ***** test 372s psf = rand (6, 1); 372s ppsf = [psf; 0]; 372s assert (psf2otf (psf, 7), fft (circshift (ppsf, [-3])), eps); 372s ***** test 372s psf = rand (6, 1); 372s ppsf = [[psf; 0] zeros(7, 6)]; 372s assert (psf2otf (psf, [7 7]), fft2 (circshift (ppsf, [-3 0])), eps); 372s ***** test 372s psf = rand (6, 6); 372s ppsf = [psf zeros(6, 1)]; 372s assert (psf2otf (psf, [6 7]), fft2 (circshift (ppsf, [-3 -3])), eps); 372s ***** error psf2otf ('foo') 372s ***** error psf2otf (rand (16), 14) 372s ***** error psf2otf (rand (16), [14 14]) 372s ***** error psf2otf (rand (16), [18]) 372s ***** error psf2otf (rand (16), [18 14]) 372s ***** test 372s psf = fspecial ("gaussian", 16) + 1i; 372s otf = psf2otf (psf); 372s assert (otf2psf (otf), psf, eps); 372s 15 tests, 15 passed, 0 known failure, 0 skipped 372s [inst/checkerboard.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/checkerboard.m 372s ***** demo 372s ## Simplest case, default checkerboard size: 372s ## 8 by 8 checkerboard, with squares 10 pixel wide 372s board = checkerboard (); 372s imshow (board) 372s ***** demo 372s ## Simplest case, default checkerboard size: 372s ## 8 by 16 checkerboard, with squares 5 pixel wide 372s board = checkerboard (5, 4, 8); 372s imshow (board) 372s ***** assert (checkerboard (0), zeros (0, 0)) 372s ***** assert (checkerboard (0, 3), zeros (0, 0)) 372s ***** assert (checkerboard (0, 2, 4), zeros (0, 0)) 372s ***** assert (checkerboard (0, 2, 4, 3), zeros (0, 0, 0)) 372s ***** assert (checkerboard (0, 2, 4, 3, 2), zeros (0, 0, 0, 0)) 372s ***** assert (checkerboard (1, 4, 2, 3, 0), zeros (8, 4, 6, 0)) 372s ***** assert (checkerboard (1, 4, 0, 3, 2), zeros (8, 0, 6, 4)) 372s ***** assert (checkerboard (2, 4, 0, 3, 2), zeros (16, 0, 12, 8)) 372s ***** test 372s out = zeros (80); 372s i1 = ((1:20:80) + (0:9)')(:); 372s i2 = ((11:20:80) + (0:9)')(:); 372s out(i1, i2) = 1; 372s out(i2, i1) = 1; 372s i1r = ((41:20:80) + (0:9)')(:); 372s i2r = ((51:20:80) + (0:9)')(:); 372s out(i2, i1r) = 0.7; 372s out(i1, i2r) = 0.7; 372s assert (checkerboard (), out) 372s assert (checkerboard (10, 4, 4), out) 372s assert (checkerboard (10, [4 4]), out) 372s assert (checkerboard (10, [4; 4]), out) 372s ***** test 372s out = zeros (8); 372s out(2:2:8, 1:2:8) = 1; 372s out(1:2:8, 2:2:8) = 1; 372s out(1:2:8, 6:2:8) = 0.7; 372s out(2:2:8, 5:2:8) = 0.7; 372s assert (checkerboard (1), out) 372s assert (checkerboard (1, 4), out) 372s assert (checkerboard (1, 4, 4), out) 372s assert (checkerboard (1, [4 4]), out) 372s ***** test 372s out = zeros (10); 372s out(2:2:10, 1:2:10) = 1; 372s out(1:2:10, 2:2:10) = 1; 372s out(1:2:10, 6:2:10) = 0.7; 372s out(2:2:10, 7:2:10) = 0.7; 372s assert (checkerboard (1, 5), out) 372s assert (checkerboard (1, 5, 5), out) 372s assert (checkerboard (1, [5 5]), out) 372s ***** test 372s out = zeros (20); 372s out([1:4:20 2:4:20], [3:4:20 4:4:20]) = 1; 372s out([3:4:20 4:4:20], [1:4:20 2:4:20]) = 1; 372s out([1:4:20 2:4:20], [11:4:20 12:4:20]) = 0.7; 372s out([3:4:20 4:4:20], [13:4:20 14:4:20]) = 0.7; 372s assert (checkerboard (2, 5), out) 372s assert (checkerboard (2, 5, 5), out) 372s assert (checkerboard (2, [5 5]), out) 372s ***** test 372s out = zeros (4, 4, 4); 372s out([1 3], 1, [1 3]) = 1; 372s out([2 4], 2, [1 3]) = 1; 372s out([1 3], 2, [2 4]) = 1; 372s out([2 4], 1, [2 4]) = 1; 372s out([1 3], 3, [1 3]) = 0.7; 372s out([2 4], 4, [1 3]) = 0.7; 372s out([1 3], 4, [2 4]) = 0.7; 372s out([2 4], 3, [2 4]) = 0.7; 372s assert (checkerboard (1, [2 2 2]), out) 372s assert (checkerboard (1, 2, 2, 2), out) 372s ***** test 372s out = zeros (8, 8, 8); 372s out([1 2 5 6], [1 2], [1 2 5 6]) = 1; 372s out([3 4 7 8], [3 4], [1 2 5 6]) = 1; 372s out([1 2 5 6], [3 4], [3 4 7 8]) = 1; 372s out([3 4 7 8], [1 2], [3 4 7 8]) = 1; 372s out([1 2 5 6], [5 6], [1 2 5 6]) = 0.7; 372s out([3 4 7 8], [7 8], [1 2 5 6]) = 0.7; 372s out([1 2 5 6], [7 8], [3 4 7 8]) = 0.7; 372s out([3 4 7 8], [5 6], [3 4 7 8]) = 0.7; 372s assert (checkerboard (2, [2 2 2]), out) 372s assert (checkerboard (2, 2, 2, 2), out) 372s 14 tests, 14 passed, 0 known failure, 0 skipped 372s [inst/im2single.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/im2single.m 372s ***** assert (im2single (single ([1 2 3])), single ([1 2 3])); 372s ***** assert (im2single ([1 2 3]), single ([1 2 3])); 372s ***** assert (im2single (uint8 ([0 127 128 255])), single ([0 127/255 128/255 1])); 372s ***** assert (im2single (uint16 ([0 127 128 65535])), single ([0 127/65535 128/65535 1])); 372s ***** assert (im2single (int16 ([-32768 -32767 -32766 32767])), single ([0 1/65535 2/65535 1])); 372s ***** assert (im2single (uint8 ([0 1 255]), "indexed"), single ([1 2 256])); 372s ***** assert (im2single (uint16 ([0 1 2557]), "indexed"), single ([1 2 2558])); 372s ***** assert (im2single ([3 25], "indexed"), single ([3 25])); 372s ***** error im2single ([0 1 2], "indexed"); 372s ***** error im2single (int16 ([17 8]), "indexed"); 372s ***** error im2single (int16 ([-7 8]), "indexed"); 372s ***** error im2single ([false true], "indexed"); 372s 12 tests, 12 passed, 0 known failure, 0 skipped 372s [inst/xyz2rgb.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/xyz2rgb.m 372s ***** assert (xyz2rgb ([0, 0, 0]), [0 0 0], 1e-3) 372s ***** assert (xyz2rgb ([0.4125, 0.2127, 0.0193]), [1 0 0], 1e-3) 372s ***** assert (xyz2rgb ([0.7700, 0.9278, 0.1385]), [1 1 0], 1e-3) 372s ***** assert (xyz2rgb ([0.3576, 0.7152, 0.1192]), [0 1 0], 1e-3) 372s ***** assert (xyz2rgb ([0.5380, 0.7873, 1.0694]), [0 1 1], 1e-3) 372s ***** assert (xyz2rgb ([0.1804, 0.07217, 0.9502]), [0 0 1], 1e-3) 372s ***** assert (xyz2rgb ([0.5929, 0.28484, 0.9696]), [1 0 1], 1e-3) 372s ***** assert (xyz2rgb ([0.9505, 1.0000, 1.0888]), [1 1 1], 1e-3) 372s ***** assert (xyz2rgb ([0.2034, 0.2140, 0.2330]), [0.5 0.5 0.5], 1e-3) 372s ***** assert (xyz2rgb ([0.2155, 0.1111, 0.0101]), [0.75 0 0], 1e-3) 372s ***** assert (xyz2rgb ([0.0883, 0.0455, 0.0041]), [0.5 0 0], 1e-3) 372s ***** assert (xyz2rgb ([0.0210, 0.0108, 0.0010]), [0.25 0 0], 1e-3) 372s ***** assert (xyz2rgb ([0.5276, 0.3812, 0.2482]), [1 0.5 0.5], 1e-3) 372s ***** assert (xyz2rgb ([1.5 1 1]), [1.5712, 0.7109 0.9717], 1e-3) 372s ***** test 372s xyz_map = rand (64, 3); 372s assert (rgb2xyz (xyz2rgb (xyz_map)), xyz_map, 3e-4); 372s ***** test 372s xyz_img = rand (64, 64, 3); 372s assert (rgb2xyz (xyz2rgb (xyz_img)), xyz_img, 3e-4); 372s ***** assert (xyz2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 372s ***** assert (class (xyz2rgb (single([0.5 0.5 0.5]))), 'single') 372s ***** error xyz2rgb () 372s ***** error xyz2rgb (1,2) 372s ***** error xyz2rgb ({1}) 372s ***** error xyz2rgb (ones (2,2)) 372s ***** test 372s xyz = rand (16, 16, 3, 5); 372s rgb = zeros (size (xyz)); 372s for i = 1:5 372s rgb(:,:,:,i) = xyz2rgb (xyz(:,:,:,i)); 372s endfor 372s assert (xyz2rgb (xyz), rgb) 372s 23 tests, 23 passed, 0 known failure, 0 skipped 372s [inst/ycbcr2rgb.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/ycbcr2rgb.m 372s ***** assert (ycbcr2rgb (rgb2ycbcr (jet (10))), jet (10), 0.00001); 372s ***** assert (class (ycbcr2rgb (single (rand (5, 5, 3)))), "single") 372s 2 tests, 2 passed, 0 known failure, 0 skipped 372s [inst/bwareafilt.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bwareafilt.m 372s ***** shared a2d, a3d 372s a2d = [1 0 0 0 0 0 1 0 0 1 372s 1 0 0 1 0 1 0 1 0 1 372s 1 0 1 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 1 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 1 0 0 372s 1 1 0 0 0 0 1 0 1 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 1 1 0 0 1]; 372s 372s a3d = a2d; 372s a3d(:,:,2) = [ 372s 0 0 0 0 0 0 0 0 0 0 372s 1 0 0 1 1 0 0 1 0 0 372s 0 0 0 1 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 0 0 0 372s 1 0 0 0 0 0 1 0 0 0 372s 0 1 0 0 0 0 0 0 0 1 372s 1 1 0 0 0 0 1 0 0 0]; 372s 372s a3d(:,:,3) = [ 372s 1 0 0 0 0 0 0 0 0 0 372s 0 1 0 1 1 0 0 1 0 0 372s 0 0 0 1 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 1 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 1 372s 1 1 0 0 0 0 0 0 0 0]; 372s ***** test 372s f2d = [0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 1 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a2d, 2), logical (f2d)); 372s assert (bwareafilt (a2d, 2, 8), logical (f2d)); 372s assert (bwareafilt (a2d, 2, 4), logical (f2d)); 372s ***** test 372s f2d = [1 0 0 0 0 0 1 0 0 0 372s 1 0 0 0 0 1 0 1 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 1 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 1 0 0 372s 1 1 0 0 0 0 1 0 1 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a2d, 5), logical (f2d)); 372s assert (bwareafilt (a2d, 5, 8), logical (f2d)); 372s ***** test 372s f2d = [0 0 0 0 0 0 1 0 0 1 372s 0 0 0 1 0 1 0 1 0 1 372s 0 0 1 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 1 0 0 372s 0 0 0 0 0 0 1 0 1 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 1 1 0 0 1]; 372s assert (bwareafilt (a2d, 11, "smallest", 4), logical (f2d)); 372s ***** test 372s f2d = [1 0 0 0 0 0 1 0 0 0 372s 1 0 0 0 0 1 0 1 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 1 0 0 0 0 372s 0 0 0 1 0 0 0 1 0 0 372s 0 0 0 0 0 0 1 0 1 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a2d, [3 5]), logical (f2d)); 372s assert (bwareafilt (a2d, [3 5], 8), logical (f2d)); 372s ***** test 372s f2d = [1 0 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 1 0 0 0 0 372s 0 0 0 1 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a2d, [3 4], 4), logical (f2d)); 372s assert (bwareafilt (a2d, [3 4], [0 1 0; 1 1 1; 0 1 0]), logical (f2d)); 372s ***** test 372s f2d = [1 0 0 0 0 0 1 0 0 1 372s 1 0 0 1 0 1 0 1 0 1 372s 1 0 1 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 1 0 0 0 0 372s 0 0 0 1 0 0 0 1 0 0 372s 0 0 0 0 0 0 1 0 1 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 1 1 0 0 0]; 372s assert (bwareafilt (a2d, [2 4]), logical (f2d)); 372s assert (bwareafilt (a2d, [2 4], 8), logical (f2d)); 372s assert (bwareafilt (a2d, [2 4], ones (3)), logical (f2d)); 372s ***** test 372s f3d = [0 0 0 0 0 0 1 0 0 0 372s 0 0 0 1 0 1 0 1 0 0 372s 0 0 1 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s 372s f3d(:,:,2) = [ 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 0 0 1 0 0 372s 0 0 0 1 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s 372s f3d(:,:,3) = [ 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 0 0 1 0 0 372s 0 0 0 1 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a3d, 2), logical (f3d)); 372s assert (bwareafilt (a3d, 2, 26), logical (f3d)); 372s assert (bwareafilt (a3d, 2, ones (3, 3, 3)), logical (f3d)); 372s ***** test 372s f3d = [0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 1 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s 372s f3d(:,:,2) = [ 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 1 1 0 0 0 0 372s 1 1 0 1 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 0 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s 372s f3d(:,:,3) = [ 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 0 0 0 1 1 1 0 0 0 0 372s 0 0 0 0 0 0 0 0 0 0 372s 1 0 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0 372s 1 1 0 0 0 0 0 0 0 0]; 372s assert (bwareafilt (a3d, 2, 6), logical (f3d)); 372s assert (bwareafilt (a3d, 2, conndef (3, "minimal")), logical (f3d)); 372s 8 tests, 8 passed, 0 known failure, 0 skipped 372s [inst/label2rgb.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/label2rgb.m 372s ***** function map = test_colormap (unused) 372s map = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 372s ***** endfunction 372s ***** shared in, out, cmap 372s in = [ 0 1 1 0 2 2 0 3 3 372s 0 1 1 0 2 2 0 3 3]; 372s 372s out = [255 0 0 255 128 128 255 32 32 372s 255 0 0 255 128 128 255 32 32]; 372s out(:,:,2) = out(:,:,3) = out(:,:,1); 372s out = uint8(out); 372s 372s cmap = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 372s ***** assert (label2rgb (in, cmap), out); 372s ***** assert (label2rgb (uint8 (in), cmap), out); 372s ***** assert (label2rgb (in, "test_colormap"), out); 372s ***** assert (label2rgb (in, @test_colormap), out); 372s 372s out(find (in == 0)) = 0; 372s ***** assert (label2rgb (in, cmap, "cyan"), out); 372s ***** assert (label2rgb (in, cmap, [0 1 1]), out); 372s 372s in(1) = 10; 372s ***** error label2rgb (in, cmap); 372s ***** error label2rgb (in, cmap, 89); 372s ***** error label2rgb (in, cmap, "g", "wrong"); 372s 9 tests, 9 passed, 0 known failure, 0 skipped 372s [inst/nlfilter.m] 372s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/nlfilter.m 372s ***** demo 372s ## creates a "wide" diagonal (although it can be performed more 372s ## efficiently with "imdilate (A, true (3))") 372s nlfilter (eye (10), [3 3], @(x) any (x(:) > 0)) 372s ***** assert (nlfilter (eye (4), [2 3], @(x) sum (x(:))), 372s [2 2 1 0 372s 1 2 2 1 372s 0 1 2 2 372s 0 0 1 1]); 372s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x) sum (x(:))), 372s [4 2 1 2 372s 3 2 2 3 372s 2 1 2 4 372s 4 3 4 5]); 372s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x, y) sum (x(:)) == y, 2), 372s logical ([0 1 0 1 372s 0 1 1 0 372s 1 0 1 0 372s 0 0 0 0])); 372s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 372s [2 2 1 0 372s 1 2 2 1 372s 0 1 2 2 372s 0 0 1 1]); 372s ***** assert (nlfilter (int16 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 372s [4 2 1 2 372s 3 2 2 3 372s 2 1 2 4 372s 4 3 4 5]); 372s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) int8 (sum (x(:)))), 372s int8 ([2 2 1 0 372s 1 2 2 1 372s 0 1 2 2 372s 0 0 1 1])); 372s ***** test 372s ## Effect of out of border elements. 372s expected = [ 372s 0.5 6.0 6.0 0.5 0 372s 5.5 10.5 13.5 10.5 4.0 372s 6.5 12.5 13.5 13.5 1.5 372s 10.5 12.5 15.5 11.0 1.0 372s 5.0 10.5 6.0 1.0 0 372s ]; 372s assert (nlfilter (magic (5), [3 4], @(x) median (x(:))), expected) 372s ***** test 372s ## The center pixel of a sliding window when its length is even 372s ## sized is ceil ((size (NHOOD) +1) /2) 372s expected = [ 372s 24 24 24 16 16 372s 24 24 24 22 22 372s 23 23 22 22 22 372s 25 25 25 25 22 372s 25 25 25 25 21 372s ]; 372s assert (nlfilter (magic (5), [3 4], @(x) max (x(:))), expected) 372s ***** function dilated = imdilate_like_nlfilter (im, nhood) 372s even_nhood_dims = find (mod (size (nhood), 2) == 0); 372s for i = 1:even_nhood_dims 372s im = flip (im, i); 372s endfor 372s dilated = imdilate (im, nhood); 372s for i = 1:even_nhood_dims 372s dilated = flip (dilated, i); 372s endfor 372s ***** endfunction 372s ***** test 372s a = randi (65535, 20, 20, 20, "uint16"); 372s ## extra dimensions on matrix only 372s assert (nlfilter (a, [5 5], @(x) max(x(:))), imdilate (a, ones (5))) 372s ## extra dimensions on both matrix and block 372s assert (nlfilter (a, [5 5 5], @(x) max(x(:))), imdilate (a, ones ([5 5 5]))) 372s ## extra dimensions and padding 372s assert (nlfilter (a, [3 7], @(x) max(x(:))), imdilate (a, ones ([3 7]))) 372s assert (nlfilter (a, [3 7 3], @(x) max(x(:))), imdilate (a, ones ([3 7 3]))) 373s ***** test 373s a = randi (65535, 15, 15, 4, 8, 3, "uint16"); 373s assert (nlfilter (a, [3 4 7 5], @(x) max(x(:))), 373s imdilate_like_nlfilter (a, ones ([3 4 7 5]))) 374s ***** test 374s a = randi (65535, 15, 15, 4, 3, 8, "uint16"); 374s ord = ordfiltn (a, 3, ones ([3 7 3 1 5])); 374s assert (nlfilter (a, [3 7 3 1 5], @(x) sort (x(:))(3)), ord) 374s assert (nlfilter (a, [3 7 3 1 5], @(x, y) sort (x(:))(y), 3), ord) 376s 11 tests, 11 passed, 0 known failure, 0 skipped 376s [inst/lab2uint16.m] 376s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2uint16.m 376s ***** test 376s cm_uint16 = uint16 ([0 127 128 383 384 65151 65152 65279 65280 65281 65534 65535]); 376s cm_uint16 = repmat (cm_uint16(:), [1 3]); 376s im2d_uint16 = reshape (cm_uint16, [4 3 3]); 376s imnd_uint16 = permute (im2d_uint16, [1 4 3 2]); 376s 376s cm_uint8 = uint8 ([0 0 1 1 2 254 255 255 255 255 255 255]); 376s cm_uint8 = repmat (cm_uint8(:), [1 3]); 376s assert (lab2uint8 (cm_uint16), cm_uint8) 376s im2d_uint8 = reshape (cm_uint8, [4 3 3]); 376s assert (lab2uint8 (im2d_uint16), im2d_uint8) 376s assert (lab2uint8 (imnd_uint16), permute (im2d_uint8, [1 4 3 2])) 376s 376s l1 = 100/65280; 376s ab1 = 255/65280; 376s cm = [ 376s 0 -128 376s 127*l1 -128+(ab1*127) 376s 128*l1 -128+(ab1*128) 376s 383*l1 -128+(ab1*383) 376s 384*l1 -128+(ab1*384) 376s 65151*l1 -128+(ab1*65151) 376s 65152*l1 -128+(ab1*65152) 376s 65279*l1 -128+(ab1*65279) 376s 100 127 376s 65281*l1 -128+(ab1*65281) 376s 65534*l1 -128+(ab1*65534) 376s 65535*l1 -128+(ab1*65535)]; 376s cm(:,3) = cm(:,2); 376s im2d = reshape (cm, [4 3 3]); 376s imnd = permute (im2d, [1 4 3 2]); 376s 376s assert (lab2double (cm_uint16), cm) 376s assert (lab2double (im2d_uint16), im2d) 376s assert (lab2double (imnd_uint16), imnd) 376s 376s assert (lab2single (cm_uint16), single (cm)) 376s assert (lab2single (im2d_uint16), single (im2d)) 376s assert (lab2single (imnd_uint16), single (imnd)) 376s 1 test, 1 passed, 0 known failure, 0 skipped 376s [inst/otsuthresh.m] 376s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/otsuthresh.m 376s ***** test 376s histo = zeros (1, 256); 376s histo([ 29 33 37 41 46 50 54 58 62 66 70 74 78 82 ... 376s 86 90 94 98 102 106 110 114 118 122 126 131 135 139 ... 376s 143 147 151 155 159 163 167 171 175 179 183 187 191 195 ... 376s 199 203 207 211 216 220 224 228 232 236 240 244 248 252]) = ... 376s [2 27 51 144 132 108 43 29 22 21 22 20 10 16 17 12 13 14 12 13 ... 376s 15 25 19 20 23 37 23 65 92 84 87 54 50 54 33 73 76 64 57 58 47 ... 376s 48 30 27 22 20 20 11 12 12 11 7 17 31 37 31]; 376s assert (otsuthresh (histo), 114.5/255) 376s ***** test 376s I = max (phantom (), 0); 376s H = imhist (I); 376s assert (otsuthresh (H), 178/255) 376s assert (otsuthresh (H'), 178/255) 376s H = imhist (I, 10); 376s assert (otsuthresh (H), 170/255) 376s ***** assert (otsuthresh (100), 0) 376s ***** assert (otsuthresh (zeros (256, 1)), 0) 376s ***** assert (otsuthresh (zeros (5, 1)), 0) 376s ***** assert (otsuthresh (uint8 ([10 20 30])), 0.5) 376s ***** assert (otsuthresh (int32 ([100 200 300])), 0.5) 376s ***** assert (otsuthresh (int32 ([100 200])), 0) 376s ***** assert (otsuthresh (single ([10 20 30 40])), 1/3); 376s ***** assert (otsuthresh (uint16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 376s ***** assert (otsuthresh (int16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 376s ***** assert (otsuthresh (int16 (1:255)), 156/254) 376s ***** assert (otsuthresh (int16 (1:1023)), 631/1022) 376s ***** assert (otsuthresh (int8 (1:1023)), 541/1022) 376s ***** test 376s warning ("off", "Octave:data-file-in-path", "local"); 376s S = load ("penny.mat"); 376s h = imhist (uint8 (S.P)); 376s assert (otsuthresh (h), 94/255); 376s ***** test 376s I = max (phantom (), 0); 376s h = imhist (I, 5); 376s assert (otsuthresh (h), 0.625); 376s ***** error id=Octave:invalid-fun-call otsuthresh () 376s ***** error id=Octave:invalid-fun-call otsuthresh (ones (10), 5) 376s ***** error otsuthresh ([]) 376s ***** error otsuthresh ([Inf 10]) 376s ***** error otsuthresh ([10 NA]) 376s ***** error otsuthresh ([10 NaN]) 376s ***** error otsuthresh (zeros (5)) 376s ***** error otsuthresh ([10 -10]) 376s ***** error otsuthresh ("foo") 376s ***** demo 376s I = max (phantom (), 0); 376s figure; imshow (I); 376s title ("Original image"); 376s h = imhist (I); 376s t = otsuthresh (h); 376s J = im2bw (I); 376s figure; imshow (J); 376s title_line = sprintf ("Black and white image after thresholding, t=%g", 376s t*255); 376s title (title_line); 376s ***** demo 376s warning ("off", "Octave:data-file-in-path", "local"); 376s S = load ("penny.mat"); 376s I = uint8 (S.P); 376s figure; imshow (I); 376s title ("Original penny image"); 376s h = imhist (I); 376s t = otsuthresh (h); 376s J = im2bw (I); 376s figure; imshow (J); 376s title_line = sprintf ("Black and white penny image after thresholding, t=%g", 376s t*255); 376s title (title_line); 376s I = 255 - I; 376s figure; imshow(I); 376s title ("Negative penny image"); 376s h = imhist (I); 376s t = otsuthresh (h); 376s J = im2bw (I); 376s figure; imshow (J); 376s title_line = sprintf ("Black and white negative penny image after thresholding, t=%g", 376s t*255); 376s title (title_line); 376s 25 tests, 25 passed, 0 known failure, 0 skipped 376s [inst/imfindcircles.m] 376s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imfindcircles.m 376s ***** shared im0, rgb0, im1 376s im0 = [0 0 0 0 0; 376s 0 1 2 1 0; 376s 0 2 5 2 0; 376s 0 1 2 1 0; 376s 0 0 0 0 0]; 376s rgb0 = cat (3, im0, 3.*im0, 2.*im0); 376s im1 = zeros (20); 376s im1(2:6, 5:9) = 1; 376s im1(13:19, 13:19) = 1; 376s ***** function image = circlesimage (numx, numy, centersx, centersy, rs, values) 376s ## create an image with circles of given parameters 376s num = length (centersx); 376s image = zeros (numy, numx); 376s [indy, indx] = meshgrid (1:numx, 1:numy); 376s for n = 1:num 376s centerx = centersx(n); 376s centery = centersy(n); 376s r = rs(n); 376s value = values(n); 376s dist_squared = (indx - centerx).^ 2 + (indy - centery).^ 2; 376s image(dist_squared <= (r-0.5)^2) = value; 376s endfor 376s ***** endfunction 376s ***** error imfindcircles () 376s ***** error imfindcircles (im0) 376s ***** error imfindcircles (im0, [1 2 3]) 376s ***** error imfindcircles (im0, -3) 376s ***** error imfindcircles (im0, 4+2*i) 376s ***** error imfindcircles (ones (5,5,4), 2) 376s ***** error imfindcircles (ones (5,5,5,5), 2) 376s ***** error imfindcircles (im0, [2 1]) 376s ***** error imfindcircles (im0, 2, "rubbish") 377s ***** error imfindcircles (im0, 2, "more", "rubbish") 377s ***** error imfindcircles (im0, 2, "ObjectPolarity", "rubbish") 377s ***** error imfindcircles (im0, 2, "ObjectPolarity", 5) 377s ***** error imfindcircles (im0, 2, "ObjectPolarity") 377s ***** error imfindcircles (im0, 2, "Method", "rubbish") 377s ***** error imfindcircles (im0, 2, "Method", 5) 377s ***** error imfindcircles (im0, 2, "Method") 377s ***** error imfindcircles (im0, 2, "Sensitivity", "rubbish") 377s ***** error imfindcircles (im0, 2, "Sensitivity") 377s ***** error imfindcircles (im0, 2, "Sensitivity", -0.1) 377s ***** error imfindcircles (im0, 2, "Sensitivity", 1.1) 377s ***** error imfindcircles (im0, 2, "Sensitivity", [0.1 0.2]) 377s ***** error imfindcircles (im0, 2, "EdgeThreshold", "rubbish") 377s ***** error imfindcircles (im0, 2, "EdgeThreshold") 377s ***** error imfindcircles (im0, 2, "EdgeThreshold", -0.1) 377s ***** error imfindcircles (im0, 2, "EdgeThreshold", 1.1) 377s ***** error imfindcircles (im0, 2, "EdgeThreshold", [0.1 0.2]) 377s ***** error imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 377s "Sensitivity", 0.3, "Method", "PhaseCode", "more", 1) 377s ***** test # none of this should fail 377s imfindcircles (im0, 2); 377s imfindcircles (im0, [1 2]); 377s imfindcircles (logical (im0), 2); 377s imfindcircles (logical (im0), [1 2]); 377s imfindcircles (rgb0, 2); 377s imfindcircles (rgb0, [1 2]); 377s imfindcircles (uint8 (im0), 2); 377s imfindcircles (uint8 (im0), [1 2]); 377s imfindcircles (im0, 2, "ObjectPolarity", "bright"); 377s imfindcircles (im0, 2, "ObjectPolarity", "dark"); 377s imfindcircles (im0, 2, "Method", "PhaseCode"); 377s imfindcircles (im0, 2, "Sensitivity", 0.5); 377s imfindcircles (im0, 2, "EdgeThreshold", 0.5); 377s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Method", "PhaseCode"); 377s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Sensitivity", 0.3, 377s "Method", "PhaseCode"); 377s imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 377s "Sensitivity", 0.3, "Method", "PhaseCode"); 378s ***** test 378s centers = imfindcircles (im1, 2); 378s assert (size (centers, 2), 2) 378s assert (class (centers), "double") 378s ***** test 378s [centers, radii] = imfindcircles (im1, [1 5]); 378s assert (size (centers, 2), 2) 378s assert (size (radii, 2), 1) 378s assert (class (radii), "double") 378s ***** test 378s [centers, radii, strengths] = imfindcircles (im1, [1 5]); 378s assert (size (strengths, 2), 1) 378s assert (class (strengths), "double") 378s ***** error [a b c d] = imfindcircles (im0, 2); 378s ***** test ## sub-pixel accuracy of circle center 378s xs = [95.7]; 378s ys = [101.1]; 378s rs = [50]; 378s vals = [0.5]; 378s im = circlesimage (200, 200, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im = imfilter (im, filt); 378s [centers, radii] = imfindcircles (im, [40 60]); 378s assert (centers, [101.1, 95.7], 0.1); 378s assert (radii, 50, 1); 378s ***** test 378s ## specificity to circular shapes and strengths output value 378s xs = [100 202]; 378s ys = [101, 203]; 378s rs = [40, 41]; 378s vals = [0.8, 0.9]; 378s im = circlesimage (300, 300, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im = imfilter (im, filt); 378s im(30:170, 50:100) = 0; 378s im(20:120, 180:280) = 1; 378s [centers, radii, strengths] = imfindcircles (im, [30 50], "Sensitivity", 0.9); 378s assert (size (centers), [2 2]); 378s assert (centers, [203, 202; 101, 100], 1.5); 378s assert (radii, [40; 41], 2.5); 378s assert (strengths(1) / strengths(2) > 1.8, true); 378s ***** test # radius range parameter & dark circles 378s xs = [50, 420, 180]; 378s ys = [80, 100, 200]; 378s rs = [35, 30, 40]; 378s vals = [0.7, 0.8, 0.9]; 378s im = circlesimage (300, 500, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im = imfilter (im, filt); 378s [centers1, radii1] = imfindcircles (im, [28 36]); 378s [centers2, radii2] = imfindcircles (im, [28 42]); 378s assert (size (centers1), [2 2]); 378s assert (centers1, [100 420; 80 50], 0.2); 378s assert (radii1, [30; 35], 2); 378s assert (size (centers2), [3 2]); 378s im_dark = 1-im; 378s [centers_dark, radii_dark, strengths_dark] = imfindcircles (im_dark, [25 42], "ObjectPolarity", "dark"); 378s assert (sortrows (centers_dark), [80 50; 100 420; 200 180], 0.2); 378s assert (sortrows (radii_dark), [30; 35; 40], 1); 378s ***** test # ability to find circles with big radius 378s xs = [111, 555, 341]; 378s ys = [222, 401, 161]; 378s rs = [45, 50, 150]; 378s vals = [0.6, 0.8, 0.7]; 378s im = circlesimage (400, 701, xs, ys, rs, vals); 378s [centers, radii] = imfindcircles (im, [140 160], "Sensitivity", 0.98); 378s assert (centers, [161, 341], 0.2); 378s assert (radii, 150, 1); 378s ***** test # overlapping circles 378s xs = [105, 155]; 378s ys = [202, 221]; 378s rs = [45, 50]; 378s vals = [0.5, 0.8]; 378s im = circlesimage(385, 422, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im = imfilter (im, filt); 378s [centers, radii] = imfindcircles (im, [30 80]); 378s assert (centers, [221, 155; 202, 105], 0.5); 378s assert (radii, [50; 45], 1); 378s ***** test # overlapping circles, only 10 pixels apart 378s xs = [155, 155]; 378s ys = [175, 157]; 378s rs = [50, 50]; 378s vals = [0.7, 0.8]; 378s im = circlesimage (300, 300, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im = imfilter (im, filt); 378s [centers, radii] = imfindcircles (im, [30 80], "Sensitivity", 0.95); 378s assert (centers, [157, 155; 175, 155], 1); 378s assert (radii, [50; 50], 1); 378s ***** test # edge threshold parameter 378s xs = [100 202]; 378s ys = [101, 203]; 378s rs = [40, 41]; 378s vals = [0.1, 0.9]; 378s im = circlesimage (300, 300, xs, ys, rs, vals); 378s filt = ones (3) ./ 9; 378s im= imfilter (im, filt); 378s [centers_auto, radii_auto] = imfindcircles (im, [30 50]); 378s [centers_0, radii_0] = imfindcircles (im, [30 50], "EdgeThreshold", 0); 378s [centers_05, radii_05] = imfindcircles (im, [30 50], "EdgeThreshold", 0.5); 378s assert (centers_auto, [203, 202], 0.2); 378s assert (radii_auto, 41, 1); 378s assert (centers_0, [101, 100; 203, 202], 0.2); 378s assert (radii_0, [40; 41], 1); 378s assert (centers_05, [203, 202], 0.2); 378s assert (radii_05, 41, 1); 378s ***** demo 378s ## First generate an input image: 378s model = [ 1.0 0.2 0.2 0.2 0.5 0 378s 1.0 0.3 0.3 -0.1 -0.2 0 378s -0.5 0.7 0.7 -0.5 0.5 0]; 378s im = phantom (model); 378s im(170:230,170:230) = 1; 378s im = imfilter (im, fspecial ("average", 3)); 378s im = imnoise (im, "salt & pepper"); 378s imshow (im); 378s 378s ## Find and show circles with radius between 20 and 50: 378s [centers, radii] = imfindcircles (im, [20 50]); 378s viscircles (centers, radii) 378s title ("found circles in red") 378s 39 tests, 39 passed, 0 known failure, 0 skipped 378s [inst/colfilt.m] 378s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/colfilt.m 378s ***** demo 378s ## Perform moving average filter with a 4x4 window 378s A = magic (12) 378s colfilt (A, [4 4], "sliding", @mean) 378s ***** test 378s A = reshape (1:36, [6 6]); 378s assert (colfilt (A, [2 2], [3 3], "sliding", @sum), 378s conv2 (A, ones (2), "same")); 378s 1 test, 1 passed, 0 known failure, 0 skipped 378s [inst/mean2.m] 378s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/mean2.m 378s ***** test 378s ## This throws a division by zero warning which Matlab does not, but 378s ## that's because Matlab does not throw such warnings in the first 378s ## place. Octave does, so we do not turn the warning off. 378s warning ("off", "Octave:divide-by-zero", "local"); 378s assert (mean2 ([]), NaN) 378s ***** assert (mean2 (logical ([1 1; 0 0])), 0.5) 378s ***** assert (mean2 (ones (3, 3, 3)), 1) 378s ***** assert (mean2 (i), i) 378s ***** assert (mean2 ([1 i]), [0.5+0.5i]) 378s ***** assert (mean2 (speye (3)), sparse (1/3)) 378s 6 tests, 6 passed, 0 known failure, 0 skipped 378s [inst/imhist.m] 378s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imhist.m 378s ***** shared nn, bb, enn, ebb 378s [nn, bb] = imhist(logical([0 1 0 0 1])); 378s ***** assert({nn, bb}, {[3 2]', [0 1]'}) 378s [nn, bb] = imhist([0 0.2 0.4 0.9 1], 5); 378s ***** assert({nn, bb}, {[1 1 1 0 2]', [0 0.25 0.5 0.75 1]'}) 378s [nn, bb] = imhist([-2 0 0.2 0.4 0.9 1 5], 5); 378s ***** assert({nn, bb}, {[2 1 1 0 3]', [0 0.25 0.5 0.75 1]'}) 378s [nn, bb] = imhist(uint8([0 32 255]), 256); 378s enn = zeros(256, 1); enn([1, 33, 256]) = 1; 378s ebb = 0:255; 378s ***** assert({nn, bb}, {enn, ebb'}) 378s [nn, bb] = imhist(int8([-50 0 100]), 31); 378s enn = zeros(31, 1); enn([10, 16, 28]) = 1; 378s ebb = -128:8.5:127; 378s ***** assert({nn, bb}, {enn, ebb'}) 378s 5 tests, 5 passed, 0 known failure, 0 skipped 378s [inst/regionprops.m] 378s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/regionprops.m 378s ***** shared bw2d, gray2d, bw2d_over_bb, bw2d_insides 378s bw2d = logical ([ 378s 0 1 0 1 1 0 378s 0 1 1 0 1 1 378s 0 1 0 0 0 0 378s 0 0 0 1 1 1 378s 0 0 1 1 0 1]); 378s 378s gray2d = [ 378s 2 4 0 7 5 2 378s 3 0 4 9 3 7 378s 0 5 3 4 8 1 378s 9 2 0 5 8 6 378s 8 9 7 2 2 5]; 378s 378s ## For testing overlapping bounding boxes 378s bw2d_over_bb = logical ([ 378s 0 1 1 1 0 1 1 378s 1 1 0 0 0 0 1 378s 1 0 0 1 1 0 1 378s 1 0 0 1 1 0 0 378s 0 0 0 1 1 1 1]); 378s 378s ## For testing when there's regions inside regions 378s bw2d_insides = logical ([ 378s 0 0 0 0 0 0 0 0 378s 0 1 1 1 1 1 1 0 378s 0 1 0 0 0 0 1 0 378s 0 1 0 1 1 0 1 0 378s 0 1 0 1 1 0 1 0 378s 0 1 0 0 0 0 1 0 378s 0 1 1 1 1 1 1 0 378s 0 0 0 0 0 0 0 0]); 378s ***** function c = get_2d_centroid_for (idx) 378s subs = ind2sub ([5 6], idx); 378s m = false ([5 6]); 378s m(idx) = true; 378s y = sum ((1:5)' .* sum (m, 2) /sum (m(:))); 378s x = sum ((1:6) .* sum (m, 1) /sum (m(:))); 378s c = [x y]; 378s ***** endfunction 378s ***** assert (regionprops (bw2d, "Area"), struct ("Area", {8; 6})) 378s ***** assert (regionprops (double (bw2d), "Area"), struct ("Area", {14})) 378s ***** assert (regionprops (bwlabel (bw2d, 4), "Area"), struct ("Area", {4; 6; 4})) 378s ***** assert (regionprops (bw2d, "PixelIdxList"), 378s struct ("PixelIdxList", {[6; 7; 12; 8; 16; 21; 22; 27] 378s [15; 19; 20; 24; 29; 30]})) 378s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelIdxList"), 378s struct ("PixelIdxList", {[6; 7; 8; 12] 378s [15; 19; 20; 24; 29; 30] 378s [16; 21; 22; 27]})) 378s ***** assert (regionprops (bw2d, "PixelList"), 378s struct ("PixelList", {[2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 378s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5]})) 378s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelList"), 378s struct ("PixelList", {[2 1; 2 2; 2 3; 3 2] 378s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 378s [4 1; 5 1; 5 2; 6 2]})) 378s ***** assert (regionprops (bw2d, gray2d, "PixelValues"), 378s struct ("PixelValues", {[4; 0; 4; 5; 7; 5; 3; 7] 378s [7; 5; 2; 8; 6; 5]})) 378s ***** assert (regionprops (bw2d, gray2d, "MaxIntensity"), 378s struct ("MaxIntensity", {7; 8})) 378s ***** assert (regionprops (bw2d, gray2d, "MinIntensity"), 378s struct ("MinIntensity", {0; 2})) 378s ***** assert (regionprops (bw2d, "BoundingBox"), 378s struct ("BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]})) 378s ***** assert (regionprops (bw2d, "Centroid"), 378s struct ("Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 378s get_2d_centroid_for([15 19 20 24 29 30])}), 378s 5 * eps) 378s ***** test 378s props = struct ("Area", {8; 6}, 378s "Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 378s get_2d_centroid_for([15 19 20 24 29 30])}, 378s "BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]}); 378s assert (regionprops (bw2d, "basic"), props, 5 * eps) 378s assert (regionprops (bwconncomp (bw2d, 8), "basic"), props, 5 * eps) 378s assert (regionprops (bwlabeln (bw2d, 8), "basic"), props, 5 * eps) 378s ***** test 378s props = struct ("Area", {4; 6; 4}, 378s "Centroid", {get_2d_centroid_for([6 7 8 12]) 378s get_2d_centroid_for([15 19 20 24 29 30]) 378s get_2d_centroid_for([16 21 22 27])}, 378s "BoundingBox", {[1.5 0.5 2 3]; [2.5 3.5 4 2]; [3.5 0.5 3 2]}); 378s assert (regionprops (bwconncomp (bw2d, 4), "basic"), props, 5 * eps) 378s assert (regionprops (bwlabeln (bw2d, 4), "basic"), props, 5 * eps) 378s ***** assert (regionprops (double (bw2d), "basic"), 378s struct ("Area", 14, 378s "Centroid", get_2d_centroid_for (find (bw2d)), 378s "BoundingBox", [1.5 0.5 5 5]), eps*1000) 378s ***** assert (regionprops ([0 0 1], "Centroid").Centroid, [3 1]) 378s ***** assert (regionprops ([0 0 1; 0 0 0], "Centroid").Centroid, [3 1]) 378s ***** assert (regionprops ([0 1 1], "Centroid").Centroid, [2.5 1]) 378s ***** assert (regionprops ([0 1 1; 0 0 0], "Centroid").Centroid, [2.5 1]) 378s ***** test 378s a = zeros (2, 3, 3); 378s a(:, :, 1) = [0 1 0; 0 0 0]; 378s a(:, :, 3) = a(:, :, 1); 378s c = regionprops (a, "centroid"); 378s assert (c.Centroid, [2 1 2]) 378s ***** test 378s d1=2; d2=4; d3=6; 378s a = ones (d1, d2, d3); 378s c = regionprops (a, "centroid"); 378s assert (c.Centroid, [mean(1:d2), mean(1:d1), mean(1:d3)], eps*1000) 378s ***** test 378s a = [0 0 2 2; 3 3 0 0; 0 1 0 1]; 378s c = regionprops (a, "centroid"); 378s assert (c(1).Centroid, [3 3]) 378s assert (c(2).Centroid, [3.5 1]) 378s assert (c(3).Centroid, [1.5 2]) 378s ***** test 378s ***** assert (regionprops (bw2d, gray2d, "WeightedCentroid"), 378s struct ("WeightedCentroid", 378s {sum([2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 378s .* ([4; 0; 4; 5; 7; 5; 3; 7] / 35)) 378s sum([3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 378s .* ([7; 5; 2; 8; 6; 5] / 33))}), 5 * eps) 378s ***** test 378s img = zeros (3, 9); 378s img(2, 1:9) = 0:0.1:0.8; 378s bw = im2bw (img, 0.5); 378s props = regionprops (bw, img, "WeightedCentroid"); 378s ix = 7:9; 378s x = sum (img(2,ix) .* (ix)) / sum (img(2,ix)); 378s assert (props(1).WeightedCentroid(1), x, 10*eps) 378s assert (props(1).WeightedCentroid(2), 2, 10*eps) 378s ***** assert (regionprops (bw2d, gray2d, "MeanIntensity"), 378s struct ("MeanIntensity", {mean([4 0 5 4 7 5 3 7]) 378s mean([7 5 2 8 6 5])})) 378s ***** assert (regionprops (bwlabel (bw2d, 4), gray2d, "MeanIntensity"), 378s struct ("MeanIntensity", {mean([4 0 5 4]) 378s mean([7 5 2 8 6 5]) 378s mean([7 5 3 7])})) 378s ***** assert (regionprops (bw2d, "SubarrayIdx"), 378s struct ("SubarrayIdx", {{[1 2 3], [2 3 4 5 6]} 378s {[4 5], [3 4 5 6]}})) 378s ***** assert (regionprops (bwlabel (bw2d, 4), "SubarrayIdx"), 378s struct ("SubarrayIdx", {{[1 2 3], [2 3]} 378s {[4 5], [3 4 5 6]} 378s {[1 2], [4 5 6]}})) 378s ***** test 378s out = struct ("Image", {logical([1 0 1 1 0; 1 1 0 1 1; 1 0 0 0 0]) 378s logical([0 1 1 1; 1 1 0 1])}); 378s assert (regionprops (bw2d, "Image"), out) 378s assert (regionprops (bw2d, gray2d, "Image"), out) 378s assert (regionprops (bwlabel (bw2d), "Image"), out) 378s ***** assert (regionprops (bwlabel (bw2d, 4), "Image"), 378s struct ("Image", {logical([1 0; 1 1; 1 0]) 378s logical([0 1 1 1; 1 1 0 1]) 378s logical([1 1 0; 0 1 1])})) 378s ***** test 378s out = struct ("Image", {logical([0 1 1 1; 1 1 0 0; 1 0 0 0; 1 0 0 0]) 378s logical([1 1 0 0; 1 1 0 0; 1 1 1 1]) 378s logical([1 1; 0 1; 0 1])}); 378s assert (regionprops (bw2d_over_bb, "Image"), out) 378s assert (regionprops (bwlabel (bw2d_over_bb), "Image"), out) 378s ***** test 378s out = struct ("Image", {logical([1 1 1 1 1 1 378s 1 0 0 0 0 1 378s 1 0 0 0 0 1 378s 1 0 0 0 0 1 378s 1 0 0 0 0 1 378s 1 1 1 1 1 1]) 378s logical([1 1; 1 1])}); 378s assert (regionprops (bw2d_insides, "Image"), out) 378s assert (regionprops (bwlabel (bw2d_insides), "Image"), out) 378s ***** test 378s l = uint8 ([ 378s 0 0 0 0 0 0 378s 0 1 1 1 1 0 378s 0 1 2 2 1 0 378s 0 1 2 2 1 0 378s 0 1 1 1 1 0 378s 0 0 0 0 0 0 378s ]); 378s assert (regionprops (l, "EulerNumber"), 378s struct ("EulerNumber", {0; 1})) 378s 378s l = uint8 ([ 378s 0 0 0 0 0 0 0 378s 0 1 1 1 1 1 0 378s 0 1 2 2 2 1 0 378s 0 1 2 3 2 1 0 378s 0 1 2 2 2 1 0 378s 0 1 1 1 1 1 0 378s 0 0 0 0 0 0 0 378s ]); 378s assert (regionprops (l, "EulerNumber"), 378s struct ("EulerNumber", {0; 0; 1})) 378s ***** test 378s l = uint8 ([ 378s 0 0 0 0 0 0 0 378s 0 1 1 1 1 1 0 378s 0 1 0 0 0 1 0 378s 0 1 0 1 0 1 0 378s 0 1 0 0 0 1 0 378s 0 1 1 1 1 1 0 378s 0 0 0 0 0 0 0 378s ]); 378s assert (regionprops (l, "EulerNumber"), 378s struct ("EulerNumber", 1)) 378s ***** test 378s l = uint8 ([ 378s 1 1 1 1 1 1 1 378s 1 1 2 1 2 2 1 378s 1 2 1 2 1 2 1 378s 1 1 2 1 2 1 1 378s 1 2 1 2 1 2 1 378s 1 2 2 1 2 1 1 378s 1 1 1 1 1 1 1 378s ]); 378s assert (regionprops (l, "EulerNumber"), 378s struct ("EulerNumber", {-9; -4})) 378s ***** test 378s l = uint8 ([ 378s 1 1 1 1 1 1 1 378s 1 1 4 1 5 5 1 378s 1 3 1 4 1 5 1 378s 1 1 3 1 4 1 1 378s 1 2 1 3 1 4 1 378s 1 2 2 1 3 1 1 378s 1 1 1 1 1 1 1 378s ]); 378s assert (regionprops (l, "EulerNumber"), 378s struct ("EulerNumber", {-9; 1; 1; 1; 1})) 379s ***** test 379s l = uint8 ([ 379s 1 1 1 1 1 1 1 379s 0 1 2 1 2 2 1 379s 1 2 1 2 1 2 1 379s 1 1 2 1 2 1 1 379s 1 2 1 2 1 2 1 379s 1 2 2 1 2 1 1 379s 1 1 1 1 1 1 1 379s ]); 379s filled = { 379s logical([ 379s 1 1 1 1 1 1 1 379s 0 1 1 1 1 1 1 379s 1 1 1 1 1 1 1 379s 1 1 1 1 1 1 1 379s 1 1 1 1 1 1 1 379s 1 1 1 1 1 1 1 379s 1 1 1 1 1 1 1 379s ]); 379s logical([ 379s 0 1 0 1 1 379s 1 1 1 1 1 379s 0 1 1 1 0 379s 1 1 1 1 1 379s 1 1 0 1 0 379s ]); 379s }; 379s assert (regionprops (l, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", {48; 19})) 379s ***** test 379s l = uint8 ([ 379s 0 0 0 0 0 0 0 379s 0 1 0 1 0 1 0 379s 0 1 0 1 0 1 0 379s 0 0 0 0 0 0 0 379s ]); 379s filled = logical ([ 379s 1 0 1 0 1 379s 1 0 1 0 1 379s ]); 379s assert (regionprops (l, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", 6)) 379s 379s l = uint8 ([ 379s 2 2 2 2 2 2 2 379s 2 1 2 1 2 1 2 379s 2 1 2 1 2 1 2 379s 2 2 2 2 2 2 2 379s ]); 379s filled = { 379s logical([ 379s 1 0 1 0 1 379s 1 0 1 0 1 379s ]); 379s true(4, 7) 379s }; 379s assert (regionprops (l, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", {6; 28})) 379s ***** test 379s l = uint8 ([ 379s 0 0 0 0 0 0 0 379s 0 1 1 1 1 1 0 379s 0 1 2 2 2 1 0 379s 0 1 2 3 2 1 0 379s 0 1 2 2 2 1 0 379s 0 1 1 1 1 1 0 379s 0 0 0 0 0 0 0 379s ]); 379s filled = {true(5, 5); true(3, 3); true}; 379s assert (regionprops (l, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", {25; 9; 1})) 379s ***** test 379s l = uint8 ([ 379s 1 1 1 2 0 0 379s 1 0 2 1 2 0 379s 1 2 0 1 0 2 379s 1 2 1 1 0 2 379s 0 1 2 2 2 2 379s ]); 379s filled = { 379s logical([ 379s 1 1 1 0 379s 1 1 1 1 379s 1 1 1 1 379s 1 1 1 1 379s 0 1 0 0 379s ]); 379s logical([ 379s 0 0 1 0 0 379s 0 1 1 1 0 379s 1 1 1 1 1 379s 1 1 1 1 1 379s 0 1 1 1 1 379s ]) 379s }; 379s assert (regionprops (l, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", {16; 18})) 379s ***** test 379s bw = false (5, 5, 5); 379s bw(2:4, 2:4, [1 5]) = true; 379s bw(2:4, [1 5], 2:4) = true; 379s bw([1 5], 2:4, 2:4) = true; 379s filled = bw; 379s filled(2:4, 2:4, 2:4) = true; 379s assert (regionprops (bw, {"FilledImage", "FilledArea"}), 379s struct ("FilledImage", filled, "FilledArea", 81)) 379s ***** test 379s l = uint8 ([ 379s 1 1 1 2 0 0 379s 1 0 2 1 2 0 379s 1 2 0 1 0 2 379s 1 2 1 1 0 2 379s 0 1 2 2 2 2 379s ]); 379s assert (regionprops (l, {"Extent"}), struct ("Extent", {0.55; 0.44})) 379s ***** test 379s bw = logical ([0 0 0; 0 1 0; 0 0 0]); 379s assert (regionprops (bw, {"MinorAxisLength", "MajorAxisLength", ... 379s "Eccentricity", "Orientation"}), 379s struct ("MajorAxisLength", 4 .* sqrt (1/12), 379s "MinorAxisLength", 4 .* sqrt (1/12), 379s "Eccentricity", 0, 379s "Orientation", 0)) 379s ***** test 379s a = eye (4); 379s t = regionprops (a, "majoraxislength"); 379s assert (t.MajorAxisLength, 6.4291, 1e-3); 379s t = regionprops (a, "minoraxislength"); 379s assert(t.MinorAxisLength, 1.1547 , 1e-3); 379s t = regionprops (a, "eccentricity"); 379s assert (t.Eccentricity, 0.98374 , 1e-3); 379s t = regionprops (a, "orientation"); 379s assert (t.Orientation, -45); 379s t = regionprops (a, "equivdiameter"); 379s assert (t.EquivDiameter, 2.2568, 1e-3); 379s ***** test 379s b = ones (5); 379s t = regionprops (b, "majoraxislength"); 379s assert (t.MajorAxisLength, 5.7735 , 1e-3); 379s t = regionprops (b, "minoraxislength"); 379s assert (t.MinorAxisLength, 5.7735 , 1e-3); 379s t = regionprops (b, "eccentricity"); 379s assert (t.Eccentricity, 0); 379s t = regionprops (b, "orientation"); 379s assert (t.Orientation, 0); 379s t = regionprops (b, "equivdiameter"); 379s assert (t.EquivDiameter, 5.6419, 1e-3); 379s ***** test 379s c = [0 0 1; 0 1 1; 1 1 0]; 379s t = regionprops (c, "minoraxislength"); 379s assert (t.MinorAxisLength, 1.8037 , 1e-3); 379s t = regionprops (c, "majoraxislength"); 379s assert (t.MajorAxisLength, 4.1633 , 1e-3); 379s t = regionprops (c, "eccentricity"); 379s assert (t.Eccentricity, 0.90128 , 1e-3); 379s t = regionprops (c, "orientation"); 379s assert (t.Orientation, 45); 379s t = regionprops (c, "equivdiameter"); 379s assert (t.EquivDiameter, 2.5231, 1e-3); 379s ***** test 379s bw = logical ([0 0 0 0; 0 1 1 0; 0 0 0 0]); 379s props = regionprops (bw, "Orientation"); 379s assert ([props.Orientation], 0, 0) 379s 379s props = regionprops (bw', "Orientation"); 379s assert ([props.Orientation], 90, 0) 379s 379s bw = logical ([0 0 0 0; 0 1 1 0; 0 1 1 0; 0 0 0 0]); 379s props = regionprops (bw, "Orientation"); 379s assert ([props.Orientation], 0, 0) 379s 379s bw = logical ([1 1 0 0 0 ; 0 0 1 1 0 ; 0 0 0 0 0; 0 0 0 0 0]); 379s props = regionprops (bw, "Orientation"); 379s assert ([props.Orientation], -22.5, eps (22.5)) 379s 379s bw = logical ([ 379s 1 1 0 0 1 379s 0 0 0 0 1 379s 0 0 0 0 0 379s 0 0 1 1 0 379s 1 0 1 1 0 379s 1 0 0 0 0 379s 0 1 0 0 0 379s 0 1 0 0 0]); 379s props = regionprops (bw, "Orientation"); 379s assert ([props.Orientation], [0 -67.5 0 90]) 379s ***** test 379s f = [0 0 0 0; 1 1 1 1; 0 1 1 1; 0 0 0 0]; 379s t = regionprops (f, "Extrema"); 379s 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]; 379s assert (t.Extrema, shouldbe, eps); 379s ***** test 379s bw = false (5); 379s bw([8 12 13 14 18]) = true; 379s extrema = [2 1; 3 1; 4 2; 4 3; 3 4; 2 4; 1 3; 1 2] + 0.5; 379s assert (regionprops (bw, "extrema"), struct ("Extrema", extrema)) 379s ***** test 379s ext1 = [1 0; 5 0; 6 1; 6 2; 2 3; 1 3; 1 3; 1 0] + 0.5; 379s ext2 = [3 3; 6 3; 6 3; 6 5; 6 5; 2 5; 2 5; 2 4] + 0.5; 379s assert (regionprops (bw2d, "extrema"), struct ("Extrema", {ext1; ext2})) 379s ***** assert (regionprops (bw2d, "equivDiameter"), 379s struct ("EquivDiameter", {sqrt(4*8/pi); sqrt(4*6/pi)})) 379s ***** assert (regionprops (bw2d_over_bb, "equivDiameter"), 379s struct ("EquivDiameter", {sqrt(4*7/pi); sqrt(4*8/pi); sqrt(4*4/pi)})) 379s ***** assert (regionprops (bw2d_insides, "equivDiameter"), 379s struct ("EquivDiameter", {sqrt(4*20/pi); sqrt(4*4/pi)})) 379s ***** test 379s I = zeros (40); 379s disk = fspecial ("disk",10); 379s disk = disk ./ max (disk(:)); 379s I(10:30, 10:30) = disk; 379s bw = im2bw (I, 0.5); 379s props = regionprops (bw, "PerimeterOld"); 379s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 379s props = regionprops (bw, "Perimeter"); 379s assert (props.Perimeter, 59.876) 379s 379s props = regionprops (bwconncomp (bw), "PerimeterOld"); 379s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 379s props = regionprops (bwconncomp (bw), "Perimeter"); 379s assert (props.Perimeter, 59.876) 379s ***** assert (regionprops (bw2d, "PerimeterOld"), 379s struct ("PerimeterOld", {(sqrt (2)*6 + 4); (sqrt (2)*3 + 4)}), eps*10) 379s ***** assert (regionprops (bw2d, "Perimeter"), 379s struct ("Perimeter", {11.81; 7.683})) 379s ***** assert (regionprops (bw2d_insides, "PerimeterOld"), 379s struct ("PerimeterOld", {20; 4})) 379s ***** assert (regionprops (bw2d_insides, "Perimeter"), 379s struct ("Perimeter", {19.236; 3.556})) 379s ***** assert (regionprops (bwconncomp (bw2d_insides), "PerimeterOld"), 379s struct ("PerimeterOld", {20; 4})) 379s ***** assert (regionprops (bwconncomp (bw2d_insides), "Perimeter"), 379s struct ("Perimeter", {19.236; 3.556})) 379s ***** test 379s BW = false (5); 379s BW(2:4, 2:4) = true; # region with simple shape 379s 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]; 379s cimage_test = true(3); 379s carea_test = 9; 379s csolid_test = 1; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s # test only for existence of the correct corner points 379s # because Matlab returns more points (than necessary) 379s # (The correct shape of the ConvexHull results will only 379s # be tested indirectly via the tests of ConvexArea.) 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test); 379s ***** test 379s BW = logical ([... # region with non-trivial shape 379s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 379s 0 0 0 1 1 1 1 0 0 0 0 0 0 0 379s 0 0 1 1 1 1 1 0 0 0 0 0 0 0 379s 0 1 1 1 1 1 1 0 0 0 0 0 0 0 379s 0 0 1 1 1 1 1 1 1 1 1 0 0 0 379s 0 0 0 1 1 1 1 1 1 1 1 1 0 0 379s 0 0 0 0 1 1 1 1 1 1 1 1 1 0 379s 0 0 0 0 0 1 1 1 0 1 1 1 1 0 379s 0 0 0 0 0 0 1 0 0 0 1 1 1 0 379s 0 0 0 0 0 0 0 0 0 0 0 0 0 0]); 379s 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]; 379s cimage_test = logical ([... 379s 0 0 1 1 1 1 0 0 0 0 0 0 379s 0 1 1 1 1 1 1 1 0 0 0 0 379s 1 1 1 1 1 1 1 1 1 0 0 0 379s 0 1 1 1 1 1 1 1 1 1 0 0 379s 0 0 1 1 1 1 1 1 1 1 1 0 379s 0 0 0 1 1 1 1 1 1 1 1 1 379s 0 0 0 0 1 1 1 1 1 1 1 1 379s 0 0 0 0 0 1 1 1 1 1 1 1]); 379s carea_test = 62; 379s csolid_test = 0.8548; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test, 1e-4); 379s ***** test 379s BW = false (7); 379s BW(2:6, 2:6) = true; 379s BW(4,4) = false; # region with hole 379s 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]; 379s cimage_test = true(5); 379s carea_test = 25; 379s csolid_test = 0.96; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test, 1e-4); 379s ***** test 379s BW = false (5); 379s BW(3, 3) = true; # region with single pixel 379s hull_test = [3.5 3; 3 2.5; 2.5 3]; 379s cimage_test = true; 379s carea_test = 1; 379s csolid_test = 1; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test); 379s ***** test 379s BW = false (5); 379s BW(3, 2:4) = true; # regions with pixel line 379s BW2 = BW'; 379s hull_test = [2 2.5; 1.5 3; 2 3.5; 4 3.5; 4.5 3; 4 2.5]; 379s hull_test2 = fliplr (hull_test); 379s cimage_test = true(1,3); 379s cimage_test2 = cimage_test'; 379s carea_test = 3; 379s csolid_test = 1; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test); 379s props2 = regionprops (BW2, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull2 = props2.ConvexHull; 379s assert (sum (ismember (hull_test2, hull2, "rows")), rows (hull_test2)) 379s assert (all (hull2(1,:) == hull2(end,:))) 379s cimage2 = props2.ConvexImage; 379s assert (cimage2, cimage_test2); 379s carea2 = props2.ConvexArea; 379s assert (carea2, carea_test); 379s csolid2 = props2.Solidity; 379s assert (csolid2, csolid_test); 379s ***** test 379s BW = logical ([ ... 379s 1 0 1 0 379s 1 0 1 0 379s 1 0 1 0 379s 1 0 1 0]); # two seperate regions 379s hull_test_1 = [1.5 1; 1 0.5; 0.5 1; 0.5 4; 1 4.5; 1.5 4]; 379s hull_test_2 = [3.5 1; 3 0.5; 2.5 1; 2.5 4; 3 4.5; 3.5 4]; 379s cimage_test_1 = true(4,1); 379s cimage_test_2 = true(4,1); 379s carea_test1 = 4; 379s carea_test2 = 4; 379s csolid_test1 = 1; 379s csolid_test2 = 1; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull1 = {props.ConvexHull}{1}; 379s assert (sum (ismember (hull_test_1, hull1, "rows")), rows (hull_test_1)) 379s assert (all (hull1(1,:) == hull1(end,:))) 379s hull2 = {props.ConvexHull}{2}; 379s assert (sum (ismember (hull_test_2, hull2, "rows")), rows (hull_test_2)) 379s assert (all (hull2(1,:) == hull2(end,:))) 379s cimage1 = {props.ConvexImage}{1}; 379s assert (cimage1, cimage_test_1); 379s cimage2 = {props.ConvexImage}{2}; 379s assert (cimage2, cimage_test_2); 379s carea1 = {props.ConvexArea}{1}; 379s assert (carea1, carea_test1); 379s carea2 = {props.ConvexArea}{2}; 379s assert (carea2, carea_test2); 379s csolid1 = {props.Solidity}{1}; 379s assert (csolid1, csolid_test1); 379s csolid2 = {props.Solidity}{2}; 379s assert (csolid2, csolid_test2); 379s ***** test 379s L = zeros (5); 379s L(1:2:5, :) = 1; # labelled region with 3 disconnected parts 379s 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]; 379s cimage_test = true(5); 379s carea_test = 25; 379s csolid_test = 0.6; 379s props = regionprops (L, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test); 379s ***** xtest 379s ## Matlab compatible, currently fails because of bug #50188 379s BW = false(4,16); 379s BW(2,2) = true; 379s BW(3,2:end-1) = true; # L-shaped region (small angle) 379s hull_test = [2 1.5; 1.5 2; 1.5 3; 2 3.5; 15 3.5; 15.5 3; 15 2.5]; 379s cimage_test = true (2,14); 379s cimage_test(1, 8:end) = false; # this is the Matlab result 379s carea_test = 21; 379s csolid_test = 0.7143; 379s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 379s hull = props.ConvexHull; 379s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 379s assert (all (hull(1,:) == hull(end,:))) 379s cimage = props.ConvexImage; 379s assert (cimage, cimage_test); 379s carea = props.ConvexArea; 379s assert (carea, carea_test); 379s csolid = props.Solidity; 379s assert (csolid, csolid_test, 1e-4); 379s !!!!! known failure 379s ASSERT errors for: assert (cimage,cimage_test) 379s 379s Location | Observed | Expected | Reason 379s (1,8) 1 0 Abs err 1 exceeds tol 0 by 1 379s ***** assert (regionprops ([1 0 1; 1 0 1], "Area"), struct ("Area", 4)) 379s ***** assert (regionprops ([1 0 2; 1 1 2], "Area"), struct ("Area", {3; 2})) 379s ***** assert (regionprops ([1 0 3; 1 1 3], "Area"), struct ("Area", {3; 0; 2})) 379s ***** assert (size (regionprops ([1 0 0; 0 0 2], "Area")), [2, 1]) 379s ***** error regionprops ([1 -2 0 3]) 379s ***** error regionprops ([1 1.5 0 3]) 379s ***** test 379s im = rand (5); 379s 379s ## First do this so we get a list of all supported properties and don't 379s ## have to update the list each time. 379s bw = false (5); 379s bw(13) = true; 379s props = regionprops (bw, im, "all"); 379s all_props = fieldnames (props); 379s 379s bw = false (5); 379s props = regionprops (bw, im, "all"); 379s assert (size (props), [0 1]) 379s assert (sort (all_props), sort (fieldnames (props))) 379s ***** test 379s im = rand (5); 379s 379s ## First do this so we get a list of all supported properties and don't 379s ## have to update the list each time. 379s labeled = zeros (5); 379s labeled(13) = 1; 379s props = regionprops (labeled, im, "all"); 379s all_props = fieldnames (props); 379s 379s labeled = zeros (5); 379s props = regionprops (labeled, im, "all"); 379s assert (size (props), [0 1]) 379s assert (sort (all_props), sort (fieldnames (props))) 379s ***** test 379s im = rand (5); 379s 379s ## First do this so we get a list of all supported properties and don't 379s ## have to update the list each time. 379s bw = false (5); 379s bw(13) = true; 379s props = regionprops (bwconncomp (bw), im, "all"); 379s all_props = fieldnames (props); 379s 379s bw = false (5); 379s props = regionprops (bwconncomp (bw), im, "all"); 379s assert (size (props), [0 1]) 379s assert (sort (all_props), sort (fieldnames (props))) 379s ***** test 379s bw = logical ([ 379s 0 1 1 1 1 379s 0 1 1 0 0 379s 0 0 0 0 0 379s 0 0 0 1 0 379s 0 1 1 1 0]); 379s props = regionprops (bw, "MajorAxisLength", "MinorAxisLength", 379s "Orientation"); 379s assert ([props.MajorAxisLength] ,[4.51354115 3.65148372], 1.e-8) 379s assert ([props.MinorAxisLength], [2.01801654 1.82574186], 1.e-8) 379s assert ([props.Orientation], [12.93317840 18.43494882], 1.e-8) 379s ***** warning 379s regionprops (rand (5, 5, 5) > 0.5, {"perimeter", "extrema"}); 379s ***** warning 379s regionprops (rand (5, 5) > 0.5, {"minintensity", "weightedcentroid"}); 379s ***** error 379s regionprops ([0 -1 3 4; 0 -1 3 4]) 379s ***** error 379s regionprops ([0 1.5 3 4; 0 1.5 3 4]) 379s ***** error 379s regionprops (int8 ([0 -1 3 4; 0 -1 3 4])) 379s ***** test # bug #52926 379s ## Perimeter of objects that would be connected with connectivity 8 379s ## but have been labeled with connectivity 4. 379s BW = logical ([1 1 1 0 0 0 0 0 379s 1 1 1 0 1 1 0 0 379s 1 1 1 0 1 1 0 0 379s 1 1 1 0 0 0 1 0 379s 1 1 1 0 0 0 1 0 379s 1 1 1 0 0 0 1 0 379s 1 1 1 0 0 1 1 0 379s 1 1 1 0 0 0 0 0]); 379s 379s L = bwlabel (BW, 4); 379s props = regionprops(L, "PerimeterOld"); 379s assert ([props.PerimeterOld], [18 4 6+sqrt(2)]) 379s props = regionprops(L, "Perimeter"); 379s assert ([props.Perimeter], [17.276 3.556 7.013]) 379s L = bwlabel (BW, 8); 379s props = regionprops(L, "PerimeterOld"); 379s assert ([props.PerimeterOld], [18 10+3*sqrt(2)]) 379s props = regionprops(L, "Perimeter"); 379s assert ([props.Perimeter], [17.276 13.108]) 379s ***** test 379s I = zeros(5); 379s I(3,3) = 1; 379s props = regionprops(I, "Perimeter"); 379s assert ([props.Perimeter], [0]) 379s I = zeros(5); 379s I(3,3:4) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [1.96]) 379s I = zeros(5); 379s I(3:4,3) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [1.96]) 379s I = zeros(5); 379s I(3,3) = 1; 379s I(4,4) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [2.812]) 379s I = zeros(5); 379s I(3,4) = 1; 379s I(4,3) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [2.812]) 379s I = zeros(5); 379s I(3:4,3:4) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [3.556]) 379s I = zeros(5); 379s I(3:4,3:4) = 1; 379s I(4,5) = 1; 379s props=regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [4.962]) 379s I = zeros(5); 379s I(3:4,3:4) = 1; 379s I(5,5) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [6.277], 4*eps) 379s I = zeros(5); 379s I(2,3) = 1; 379s I(3,2:4) = 1; 379s I(4,3) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [5.624]) 379s I = zeros(5); 379s I(2,3) = 1; 379s I(3,2:4) = 1; 379s I(4,3) = 1; 379s I(5,3) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [7.402], 4*eps) 379s I = zeros(5); 379s I(2,3) = 1; 379s I(3,2:4) = 1; 379s I(4,3) = 1; 379s I(5,4) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [8.436]) 379s I = zeros(5); 379s I(2,1:4) = 1; 379s I(3,4) = 1; 379s props = regionprops (I, "Perimeter"); 379s assert ([props.Perimeter], [7.013]) 379s ***** test # bug #61827 379s L = uint8 (checkerboard); 379s props = regionprops (L, "Centroid"); 379s assert ([props.Centroid], [40.5, 40.5], 1e-10) 379s 87 tests, 86 passed, 1 known failure, 0 skipped 379s [inst/applylut.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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/im2int16.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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/imnoise.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imnoise.m 379s ***** assert(var(imnoise(ones(10)/2,'gaussian')(:)),0.01,0.005) # probabilistic 379s ***** assert(length(find(imnoise(ones(10)/2,'salt & pepper')~=0.5)),5,10) # probabilistic 379s ***** assert(var(imnoise(ones(10)/2,'speckle')(:)),0.01,0.005) # probabilistic 379s ***** test 379s A = imnoise (.5 * ones (100), 'poisson'); 379s assert (class (A), 'double') 379s ***** test 379s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 379s assert (class (A), 'single') 379s ***** test 379s A = imnoise (128 * ones (100, 'uint8'), 'poisson'); 379s assert (class (A), 'uint8') 379s ***** test 379s A = imnoise (256 * ones (100, 'uint16'), 'poisson'); 379s assert (class (A), 'uint16') 379s ***** demo 379s A = imnoise (2^7 * ones (100, 'uint8'), 'poisson'); 379s subplot (2, 2, 1) 379s imshow (A) 379s title ('uint8 image with poisson noise') 379s A = imnoise (2^15 * ones (100, 'uint16'), 'poisson'); 379s subplot (2, 2, 2) 379s imshow (A) 379s title ('uint16 image with poisson noise') 379s A = imnoise (.5 * ones (100), 'poisson'); 379s subplot (2, 2, 3) 379s imshow (A) 379s title ('double image with poisson noise') 379s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 379s subplot (2, 2, 4) 379s imshow (A) 379s title ('single image with poisson noise') 379s 7 tests, 7 passed, 0 known failure, 0 skipped 379s [inst/bestblk.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bestblk.m 379s ***** demo 379s siz = bestblk ([200; 10], 50); 379s disp (siz) 379s ***** error bestblk ("string") 379s ***** error bestblk ([100 200], "string") 379s ***** error <2 elements> bestblk ([100], 5) 379s ***** assert (bestblk ([ 10 12], 2), [ 2 2]); 379s ***** assert (bestblk ([ 10 12], 3), [ 2 3]); 379s ***** assert (bestblk ([300 100], 150), [150 100]); 379s ***** assert (bestblk ([256 128], 17), [ 16 16]); 379s ***** assert (bestblk ([ 17 17], 3), [ 3 3]); 379s ***** assert (bestblk ([230 470]), bestblk ([230 470], 100)) 379s ***** assert (bestblk ([10 12 10], 3), [2 3 2]); 379s ***** assert (bestblk ([ 9 12 9], 3), [3 3 3]); 379s ***** assert (bestblk ([10 12 10 11], 5), [5 4 5 4]); 379s 12 tests, 12 passed, 0 known failure, 0 skipped 379s [inst/imhmin.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imhmin.m 379s ***** shared im0, im0_h2_out 379s im0 = uint8 ([5 5 5 5 5; 379s 5 4 3 4 5; 379s 5 3 0 3 5; 379s 5 4 3 4 5; 379s 5 5 5 5 5]); 379s im0_h2_out = uint8 ([5 5 5 5 5; 379s 5 4 3 4 5; 379s 5 3 2 3 5; 379s 5 4 3 4 5; 379s 5 5 5 5 5]); 379s ***** error imhmin () 379s ***** error imhmin (im0) 379s ***** error imhmin ("hello", 2) 379s ***** error imhmin (i.*im0, 2) 379s ***** error imhmin (sparse (im0), 2) 379s ***** error imhmin (im0, -2) 379s ***** error imhmin (im0, 'a') 379s ***** error imhmin (im0, ones (2)) 379s ***** error imhmin (im0, 2*i) 379s ***** assert (imhmin (im0, 2), im0_h2_out) 379s ***** assert (imhmin (double (im0), 2), double (im0_h2_out)) 379s ***** assert (imhmin (im0, 2, 8), im0_h2_out) 379s ***** assert (imhmin (im0, 2, 4), im0_h2_out) 379s ***** assert (imhmin (im0, 2, true (3)), im0_h2_out) 379s ***** test 379s out = imhmin (double (im0), 2); 379s assert (size (out), size (im0)) 379s assert (class (out), "double") 379s ***** test 379s out = imhmin (single (im0), 2); 379s assert (size (out), size (im0)) 379s assert (class (out), "single") 379s ***** test 379s out = imhmin (uint8 (im0), 2); 379s assert (size (out), size (im0)) 379s assert (class (out), "uint8") 379s ***** test 379s out = imhmin (uint16 (im0), 2); 379s assert (size (out), size (im0)) 379s assert (class (out), "uint16") 379s ***** test 379s im = cat (3, im0, im0, im0, im0); 379s out = imhmin (im, 2); 379s assert (size (out), size (im)) 379s ***** test 379s im = 10 .* ones (10); 379s im(2:4, 2:4) = 7; 379s im(6:8, 6:8) = 2; 379s expected_4 = 10 .* ones (10); 379s expected_4(6:8, 6:8) = 6; 379s expected_2 = 10 .* ones (10); 379s expected_2(6:8, 6:8) = 4; 379s expected_2(2:4, 2:4) = 9; 379s out = imhmin (im, 4); 379s assert (out, expected_4, eps) 379s out = imhmin (im, 2); 379s assert (out, expected_2, eps) 379s out = imhmin (0.1.*im, 0.4); 379s assert (out, 0.1 .* expected_4, eps) 379s ***** test 379s im2 = 10 .* ones (10); 379s im2(2:4, 2:4) = 7; 379s im2(6:9, 6:9)=2; 379s im2(5, 5)=2; 379s im2(6, 7)=10; 379s im2(7, 8)=10; 379s expected_4 = 10 .* ones (10); 379s expected_4(6:9, 6:9) = 6; 379s expected_4(5, 5) = 6; 379s expected_4(6, 7) = 10; 379s expected_4(7, 8) = 10; 379s expected_8 = expected_4; 379s expected_8(2:4, 2:4) = 7; 379s out2 = imhmin (im2, 4); 379s assert (out2, expected_8, eps) 379s out2 = imhmin (im2, 4, 4); 379s assert (out2, expected_4, eps) 379s out2 = imhmin (im2, 4, 8); 379s assert (out2, expected_8, eps) 379s 21 tests, 21 passed, 0 known failure, 0 skipped 379s [inst/grayslice.m] 379s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/grayslice.m 379s ***** test 379s expected = uint8 ([0 4 5 5 9]); 379s im = [0 0.45 0.5 0.55 1]; 379s assert (grayslice (im), expected) 379s assert (grayslice (im, 10), expected) 379s assert (grayslice (im, uint8 (10)), expected) 379s assert (grayslice (im, [.1 .2 .3 .4 .5 .6 .7 .8 .9]), expected) 379s ***** test 379s im = [0 0.45 0.5 0.55 1]; 379s assert (grayslice (im, 2), uint8 ([0 0 1 1 1])) 379s assert (grayslice (im, 3), uint8 ([0 1 1 1 2])) 379s assert (grayslice (im, 4), uint8 ([0 1 2 2 3])) 379s assert (grayslice (im, [0 0.5 1]), uint8 ([1 1 2 2 3])) 379s assert (grayslice (im, [0.5 1]), uint8 ([0 0 1 1 2])) 379s assert (grayslice (im, [0.6 1]), uint8 ([0 0 0 0 2])) 379s ***** test 379s im = [0 .55 1]; 379s assert (grayslice (im, 9), uint8 ([0 4 8])) 379s assert (grayslice (im, 9.1), uint8 ([0 5 8])) 379s assert (grayslice (im, 10), uint8 ([0 5 9])) 379s ***** assert (grayslice ([0 .5 1], [0 1 .5]), uint8 ([1 2 3])) 379s ***** test 379s ## 0 > N > 1 values are treated as if they are V and N=2 379s im = [0 .5 .55 .7 1]; 379s assert (grayslice (im, .5), uint8 ([0 1 1 1 1])) 379s assert (grayslice (im, .51), uint8 ([0 0 1 1 1])) 379s assert (grayslice (im, .7), uint8 ([0 0 0 1 1])) 379s assert (grayslice (im, 1), uint8 ([0 0 0 0 0])) 379s assert (grayslice (im, 1.2), uint8 ([0 0 0 0 0])) 379s ***** assert (grayslice ([0 .5 .7 1], [0 .5 1 2]), uint8 ([1 2 2 4])) 379s ***** assert (grayslice ([0 .45 .5 .65 .7 1], [.4 .5 .5 .7 .7 1]), 379s uint8 ([0 1 3 3 5 6])) 379s ***** assert (grayslice ([-.5 .1 .8 1.2], [-1 -.4 .05 .6 .9 1.1 2]), 379s uint8 ([1 3 4 7])) 379s ***** assert (grayslice ([0 .5 1], [-1 .5 1 2]), uint8 ([1 2 4])) 379s ***** assert (grayslice ([-2 -1 .5 1], [-1 .5 1]), uint8 ([0 1 2 3])) 379s ***** test 379s sliced = [ 379s repmat(0, [26 1]) 379s repmat(1, [25 1]) 379s repmat(2, [26 1]) 379s repmat(3, [25 1]) 379s repmat(4, [26 1]) 379s repmat(5, [25 1]) 379s repmat(6, [26 1]) 379s repmat(7, [25 1]) 379s repmat(8, [26 1]) 379s repmat(9, [26 1]) 379s ]; 379s sliced = uint8 (sliced(:).'); 379s assert (grayslice (uint8 (0:255)), sliced) 379s ***** assert (grayslice (uint8 (0:255), 255), uint8 ([0:254 254])) 379s ***** assert (class (grayslice (uint8 (0:255), 256)), "double") 379s ***** xtest 379s assert (grayslice (uint8 (0:255), 256), [1:256]) 379s 379s ## While the above fails, this passes and should continue to do so 379s ## since it's the actual formula in the documentation. 379s assert (grayslice (uint8 (0:255), 256), 379s grayslice (uint8 (0:255), (1:255)./256)) 379s !!!!! known failure 379s ASSERT errors for: assert (grayslice (uint8 (0:255), 256),[1:256]) 379s 379s Location | Observed | Expected | Reason 379s (129) 130 129 Abs err 1 exceeds tol 0 by 1 379s (130) 131 130 Abs err 1 exceeds tol 0 by 1 379s (131) 132 131 Abs err 1 exceeds tol 0 by 1 379s (132) 133 132 Abs err 1 exceeds tol 0 by 1 379s (133) 134 133 Abs err 1 exceeds tol 0 by 1 379s (134) 135 134 Abs err 1 exceeds tol 0 by 1 379s (135) 136 135 Abs err 1 exceeds tol 0 by 1 379s (136) 137 136 Abs err 1 exceeds tol 0 by 1 379s (137) 138 137 Abs err 1 exceeds tol 0 by 1 379s (138) 139 138 Abs err 1 exceeds tol 0 by 1 379s (139) 140 139 Abs err 1 exceeds tol 0 by 1 379s (140) 141 140 Abs err 1 exceeds tol 0 by 1 379s (141) 142 141 Abs err 1 exceeds tol 0 by 1 379s (142) 143 142 Abs err 1 exceeds tol 0 by 1 379s (143) 144 143 Abs err 1 exceeds tol 0 by 1 379s (144) 145 144 Abs err 1 exceeds tol 0 by 1 379s (145) 146 145 Abs err 1 exceeds tol 0 by 1 379s (146) 147 146 Abs err 1 exceeds tol 0 by 1 379s (147) 148 147 Abs err 1 exceeds tol 0 by 1 379s (148) 149 148 Abs err 1 exceeds tol 0 by 1 379s (149) 150 149 Abs err 1 exceeds tol 0 by 1 379s (150) 151 150 Abs err 1 exceeds tol 0 by 1 379s (151) 152 151 Abs err 1 exceeds tol 0 by 1 379s (152) 153 152 Abs err 1 exceeds tol 0 by 1 379s (153) 154 153 Abs err 1 exceeds tol 0 by 1 379s (154) 155 154 Abs err 1 exceeds tol 0 by 1 379s (155) 156 155 Abs err 1 exceeds tol 0 by 1 379s (156) 157 156 Abs err 1 exceeds tol 0 by 1 379s (157) 158 157 Abs err 1 exceeds tol 0 by 1 379s (158) 159 158 Abs err 1 exceeds tol 0 by 1 379s (159) 160 159 Abs err 1 exceeds tol 0 by 1 379s (160) 161 160 Abs err 1 exceeds tol 0 by 1 379s (161) 162 161 Abs err 1 exceeds tol 0 by 1 379s (162) 163 162 Abs err 1 exceeds tol 0 by 1 379s (163) 164 163 Abs err 1 exceeds tol 0 by 1 379s (164) 165 164 Abs err 1 exceeds tol 0 by 1 379s (165) 166 165 Abs err 1 exceeds tol 0 by 1 379s (166) 167 166 Abs err 1 exceeds tol 0 by 1 379s (167) 168 167 Abs err 1 exceeds tol 0 by 1 379s (168) 169 168 Abs err 1 exceeds tol 0 by 1 379s (169) 170 169 Abs err 1 exceeds tol 0 by 1 379s (170) 171 170 Abs err 1 exceeds tol 0 by 1 379s (171) 172 171 Abs err 1 exceeds tol 0 by 1 379s (172) 173 172 Abs err 1 exceeds tol 0 by 1 379s (173) 174 173 Abs err 1 exceeds tol 0 by 1 379s (174) 175 174 Abs err 1 exceeds tol 0 by 1 379s (175) 176 175 Abs err 1 exceeds tol 0 by 1 379s (176) 177 176 Abs err 1 exceeds tol 0 by 1 379s (177) 178 177 Abs err 1 exceeds tol 0 by 1 379s (178) 179 178 Abs err 1 exceeds tol 0 by 1 379s (179) 180 179 Abs err 1 exceeds tol 0 by 1 379s (180) 181 180 Abs err 1 exceeds tol 0 by 1 379s (181) 182 181 Abs err 1 exceeds tol 0 by 1 379s (182) 183 182 Abs err 1 exceeds tol 0 by 1 379s (183) 184 183 Abs err 1 exceeds tol 0 by 1 379s (184) 185 184 Abs err 1 exceeds tol 0 by 1 379s (185) 186 185 Abs err 1 exceeds tol 0 by 1 379s (186) 187 186 Abs err 1 exceeds tol 0 by 1 379s (187) 188 187 Abs err 1 exceeds tol 0 by 1 379s (188) 189 188 Abs err 1 exceeds tol 0 by 1 379s (189) 190 189 Abs err 1 exceeds tol 0 by 1 379s (190) 191 190 Abs err 1 exceeds tol 0 by 1 379s (191) 192 191 Abs err 1 exceeds tol 0 by 1 379s (192) 193 192 Abs err 1 exceeds tol 0 by 1 379s (193) 194 193 Abs err 1 exceeds tol 0 by 1 379s (194) 195 194 Abs err 1 exceeds tol 0 by 1 379s (195) 196 195 Abs err 1 exceeds tol 0 by 1 379s (196) 197 196 Abs err 1 exceeds tol 0 by 1 379s (197) 198 197 Abs err 1 exceeds tol 0 by 1 379s (198) 199 198 Abs err 1 exceeds tol 0 by 1 379s (199) 200 199 Abs err 1 exceeds tol 0 by 1 379s (200) 201 200 Abs err 1 exceeds tol 0 by 1 379s (201) 202 201 Abs err 1 exceeds tol 0 by 1 379s (202) 203 202 Abs err 1 exceeds tol 0 by 1 379s (203) 204 203 Abs err 1 exceeds tol 0 by 1 379s (204) 205 204 Abs err 1 exceeds tol 0 by 1 379s (205) 206 205 Abs err 1 exceeds tol 0 by 1 379s (206) 207 206 Abs err 1 exceeds tol 0 by 1 379s (207) 208 207 Abs err 1 exceeds tol 0 by 1 379s (208) 209 208 Abs err 1 exceeds tol 0 by 1 379s (209) 210 209 Abs err 1 exceeds tol 0 by 1 379s (210) 211 210 Abs err 1 exceeds tol 0 by 1 379s (211) 212 211 Abs err 1 exceeds tol 0 by 1 379s (212) 213 212 Abs err 1 exceeds tol 0 by 1 379s (213) 214 213 Abs err 1 exceeds tol 0 by 1 379s (214) 215 214 Abs err 1 exceeds tol 0 by 1 379s (215) 216 215 Abs err 1 exceeds tol 0 by 1 379s (216) 217 216 Abs err 1 exceeds tol 0 by 1 379s (217) 218 217 Abs err 1 exceeds tol 0 by 1 379s (218) 219 218 Abs err 1 exceeds tol 0 by 1 379s (219) 220 219 Abs err 1 exceeds tol 0 by 1 379s (220) 221 220 Abs err 1 exceeds tol 0 by 1 379s (221) 222 221 Abs err 1 exceeds tol 0 by 1 379s (222) 223 222 Abs err 1 exceeds tol 0 by 1 379s (223) 224 223 Abs err 1 exceeds tol 0 by 1 379s (224) 225 224 Abs err 1 exceeds tol 0 by 1 379s (225) 226 225 Abs err 1 exceeds tol 0 by 1 379s (226) 227 226 Abs err 1 exceeds tol 0 by 1 379s (227) 228 227 Abs err 1 exceeds tol 0 by 1 379s (228) 229 228 Abs err 1 exceeds tol 0 by 1 379s (229) 230 229 Abs err 1 exceeds tol 0 by 1 379s (230) 231 230 Abs err 1 exceeds tol 0 by 1 379s (231) 232 231 Abs err 1 exceeds tol 0 by 1 379s (232) 233 232 Abs err 1 exceeds tol 0 by 1 379s (233) 234 233 Abs err 1 exceeds tol 0 by 1 379s (234) 235 234 Abs err 1 exceeds tol 0 by 1 379s (235) 236 235 Abs err 1 exceeds tol 0 by 1 379s (236) 237 236 Abs err 1 exceeds tol 0 by 1 379s (237) 238 237 Abs err 1 exceeds tol 0 by 1 379s (238) 239 238 Abs err 1 exceeds tol 0 by 1 379s (239) 240 239 Abs err 1 exceeds tol 0 by 1 379s (240) 241 240 Abs err 1 exceeds tol 0 by 1 379s (241) 242 241 Abs err 1 exceeds tol 0 by 1 379s (242) 243 242 Abs err 1 exceeds tol 0 by 1 379s (243) 244 243 Abs err 1 exceeds tol 0 by 1 379s (244) 245 244 Abs err 1 exceeds tol 0 by 1 379s (245) 246 245 Abs err 1 exceeds tol 0 by 1 379s (246) 247 246 Abs err 1 exceeds tol 0 by 1 379s (247) 248 247 Abs err 1 exceeds tol 0 by 1 379s (248) 249 248 Abs err 1 exceeds tol 0 by 1 379s (249) 250 249 Abs err 1 exceeds tol 0 by 1 379s (250) 251 250 Abs err 1 exceeds tol 0 by 1 379s (251) 252 251 Abs err 1 exceeds tol 0 by 1 379s (252) 253 252 Abs err 1 exceeds tol 0 by 1 379s (253) 254 253 Abs err 1 exceeds tol 0 by 1 379s (254) 255 254 Abs err 1 exceeds tol 0 by 1 379s (255) 256 255 Abs err 1 exceeds tol 0 by 1 379s ***** test 379s ## Use of threshold in the [0 1] range for images of integer type does 379s ## not really work despite the Matlab documentation. It's Matlab 379s ## documentation that is wrong, see bug #55059 379s 379s assert (grayslice (uint8([0 100 200 255]), [.1 .4 .5]), 379s uint8 ([0 3 3 3])) 379s assert (grayslice (uint8([0 100 200 255]), [100 199 200 210]), 379s uint8 ([0 1 3 4])) 379s 379s ## P (penny) is a 2d image of class double in [1 255] range 379s q = warning ("query", "Octave:data-file-in-path"); 379s warning ("off", "Octave:data-file-in-path"); 379s load ("penny.mat"); 379s warning (q.state, "Octave:data-file-in-path"); 379s assert (grayslice (P), repmat (uint8 (9), size (P))) 379s ***** function gs = test_grayslice_v (I, v) 379s ## This is effectively what grayslice does but slower with a for 379s ## loop internally. 379s gs = zeros (size (I)); 379s for idx = 1:numel (v) 379s gs(I >= v(idx)) = idx; 379s endfor 379s if (numel (v) >= 256) 379s gs = gs +1; 379s else 379s gs = uint8 (gs); 379s endif 379s ***** endfunction 379s ***** test 379s q = warning ("query", "Octave:data-file-in-path"); 379s warning ("off", "Octave:data-file-in-path"); 379s load ("penny.mat"); 379s warning (q.state, "Octave:data-file-in-path"); 379s 379s ## The loaded P in penny.mat is of size 128x128, class double, and 379s ## with values in the [1 255] range 379s penny_uint8 = uint8 (P); 379s penny_double = im2double (penny_uint8); # rescales to [0 1] range] 379s 379s ## default of N = 10 379s expected = test_grayslice_v (penny_uint8, 379s [26 51 77 102 128 153 179 204 230]); 379s assert (grayslice (penny_uint8, 10), expected) 379s assert (grayslice (penny_uint8), expected) 379s 379s expected = test_grayslice_v (penny_double, 379s [.1 .2 .3 .4 .5 .6 .7 .8 .9]); 379s assert (grayslice (penny_double, 10), expected) 379s assert (grayslice (penny_double), expected) 380s ***** test 380s ## For images with more than 2d 380s q = warning ("query", "Octave:data-file-in-path"); 380s warning ("off", "Octave:data-file-in-path"); 380s load ("penny.mat"); 380s warning (q.state, "Octave:data-file-in-path"); 380s penny_double = im2double (uint8 (P)); 380s P_3d = repmat (penny_double, [1 1 3]); 380s P_5d = repmat (penny_double, [1 1 3 2 3]); 380s 380s v = [.3 .5 .7]; 380s expected_2d = test_grayslice_v (penny_double, v); 380s assert (grayslice (P_3d, v), repmat (expected_2d, [1 1 3])) 380s assert (grayslice (P_5d, v), repmat (expected_2d, [1 1 3 2 3])) 380s ***** test 380s q = warning ("query", "Octave:data-file-in-path"); 380s warning ("off", "Octave:data-file-in-path"); 380s load ("penny.mat"); 380s warning (q.state, "Octave:data-file-in-path"); 380s penny_double = uint8 (P); 380s 380s ## Test that change from uint8 to double happens at 256 exactly 380s assert (class (grayslice (penny_double, 255)), "uint8") 380s assert (class (grayslice (penny_double, 256)), "double") 380s 380s ## If returns in class double, it's +1. 380s v = [10 150 200]; 380s v_long = [v 256:600]; 380s assert (double (grayslice (penny_double, v)) +1, 380s grayslice (penny_double, v_long)) 380s ***** test 380s ## If there's a vector for floating point and goes outside the 380s ## range, it uses the last index of the vector. 380s q = warning ("query", "Octave:data-file-in-path"); 380s warning ("off", "Octave:data-file-in-path"); 380s load ("penny.mat"); 380s warning (q.state, "Octave:data-file-in-path"); 380s penny_double = im2double (uint8 (P)); 380s v = [.3 .5 .7 2:10]; 380s idx_1 = find (penny_double == 1); 380s assert (grayslice (penny_double, v)(idx_1), uint8 ([12; 12])) 380s ***** error x = grayslice ([1 2; 3 4], 0) 380s ***** error x = grayslice ([1 2; 3 4], -1) 380s ***** error x = grayslice ([1 2; 3 4], "foo") 380s ***** test 380s ## test output values for all input classes 380s 380s klasse = "uint8"; 380s im = cast ([intmin(klasse): intmax(klasse)], klasse); 380s erg05 = grayslice (im, 0.5); 380s first1_erg05 = im(find (erg05)(1)); 380s assert (first1_erg05, cast (1, klasse)); 380s erg5 = grayslice (im, 5); 380s first1_erg5 = im(find (erg5)(1)); 380s assert (first1_erg5, cast (51, klasse)); 380s ergint5 = grayslice (im, uint8 (5)); 380s first1_ergint5 = im(find (ergint5)(1)); 380s assert (first1_ergint5, cast (51, klasse)); 380s 380s klasse = "uint16"; 380s im = cast ([intmin(klasse): intmax(klasse)], klasse); 380s erg05 = grayslice (im, 0.5); 380s first1_erg05 = im(find (erg05)(1)); 380s assert (first1_erg05, cast (1, klasse)); 380s erg5 = grayslice (im, 5); 380s first1_erg5 = im(find (erg5)(1)); 380s assert (first1_erg5, cast (13107, klasse)); 380s ergint5 = grayslice (im, uint8 (5)); 380s first1_ergint5 = im(find (ergint5)(1)); 380s assert (first1_ergint5, cast (13107, klasse)); 380s 380s klasse = "int16"; 380s im = cast ([intmin(klasse): intmax(klasse)], klasse); 380s erg05 = grayslice (im, 0.5); 380s first1_erg05 = im(find (erg05)(1)); 380s assert (first1_erg05, cast (-32767, klasse)); 380s erg5 = grayslice (im, 5); 380s first1_erg5 = im(find (erg5)(1)); 380s assert (first1_erg5, cast (-19661, klasse)); 380s ergint5 = grayslice (im, uint8 (5)); 380s first1_ergint5 = im(find (ergint5)(1)); 380s assert (first1_ergint5, cast (-19661, klasse)); 380s 380s klasse = "single"; 380s im = cast ([0:0.001:1], klasse); 380s erg05 = grayslice (im, 0.5); 380s first1_erg05 = im(find (erg05)(1)); 380s assert (first1_erg05, cast (0.5, klasse)); 380s erg5 = grayslice (im, 5); 380s first1_erg5 = im(find (erg5)(1)); 380s assert (first1_erg5, cast (0.2, klasse)); 380s ergint5 = grayslice (im, uint8 (5)); 380s first1_ergint5 = im(find (ergint5)(1)); 380s assert (first1_ergint5, cast (0.2, klasse)); 380s 380s klasse = "double"; 380s im = cast ([0:0.001:1], klasse); 380s erg05 = grayslice (im, 0.5); 380s first1_erg05 = im(find (erg05)(1)); 380s assert (first1_erg05, cast (0.5, klasse)); 380s erg5 = grayslice (im, 5); 380s first1_erg5 = im(find (erg5)(1)); 380s assert (first1_erg5, cast (0.2, klasse)); 380s ergint5 = grayslice (im, uint8 (5)); 380s first1_ergint5 = im(find (ergint5)(1)); 380s assert (first1_ergint5, cast (0.2, klasse)); 380s 23 tests, 22 passed, 1 known failure, 0 skipped 380s [inst/stretchlim.m] 380s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/stretchlim.m 380s ***** error (stretchlim ()); 380s ***** error (stretchlim ("bad parameter")); 380s ***** error (stretchlim (zeros (10, 10), "bad parameter")); 380s ***** error (stretchlim (zeros (10, 10), 0.01, 2)); 380s ***** assert (stretchlim (0.01:.01:1), [0.02; 0.99]) 380s ***** assert (stretchlim (0.01:.01:1), stretchlim (0.01:.01:1, [0.01 0.99])) 380s ***** assert (stretchlim (0.01:.01:1, 0.15), stretchlim (0.01:.01:1, [0.15 0.85])) 380s ***** assert (stretchlim (0.01:.01:1, [0.01,0.95]), [0.02; 0.95], eps) 380s ***** assert (stretchlim (0.01:.01:1, 0), [0.01; 1]) 380s ***** test 380s im = rand (5); 380s assert (stretchlim (im, 0), [min(im(:)); max(im(:))]) 380s ***** test 380s im = rand (5, 5, 3); 380s assert (stretchlim (im, 0), 380s [min(im(:,:,1)(:)) min(im(:,:,2)(:)) min(im(:,:,3)(:)); 380s max(im(:,:,1)(:)) max(im(:,:,2)(:)) max(im(:,:,3)(:))]) 380s ***** test 380s im = rand (5); 380s assert (stretchlim (im, 0.03), [min(im(:)); max(im(:))]) 380s assert (stretchlim (im, 0.0399), [min(im(:)); max(im(:))]) 380s ***** assert (stretchlim (uint8 (1:100)), im2double (uint8 ([2; 99]))) 380s ***** assert (stretchlim (uint8 (1:100), .25), im2double (uint8 ([26; 75]))) 380s ***** assert (stretchlim (uint16 (1:1000)), im2double (uint16 ([11; 990]))) 380s ***** assert (stretchlim (int16 (-100:100)), im2double (int16 ([-98; 98]))) 380s ***** assert (stretchlim (single (0.01:.01:1)), 380s double (single (0.01:.01:1)([2; 99])).') 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1, 90]) 92:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 4]) 6:100]), 0.05), 380s im2double (uint8 ([6; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) 7:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 6]) 8:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 7]) 9:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 8]) 10:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.04), 380s im2double (uint8 ([2; 96]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.05), 380s im2double (uint8 ([2; 95]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.06), 380s im2double (uint8 ([3; 94]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.07), 380s im2double (uint8 ([3; 93]))) 380s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.08), 380s im2double (uint8 ([3; 92]))) 380s ***** test 380s RGB = zeros (100, 1, 3, "uint16"); 380s RGB(:,:,1) = [1:1:100]; 380s RGB(:,:,2) = [2:2:200]; 380s RGB(:,:,3) = [4:4:400]; 380s assert (stretchlim (RGB) , im2double (uint16 ([2 4 8; 99 198 396]))) 380s ***** test 380s im6c = zeros (100, 1, 6, "uint16"); 380s im6c(:,:,1) = [1:1:100]; 380s im6c(:,:,2) = [2:2:200]; 380s im6c(:,:,3) = [4:4:400]; 380s im6c(:,:,4) = [8:8:800]; 380s im6c(:,:,5) = [16:16:1600]; 380s im6c(:,:,6) = [32:32:3200]; 380s assert (stretchlim (im6c) , 380s im2double (uint16 ([2 4 8 16 32 64; 99 198 396 792 1584 3168]))) 380s ***** test 380s im = [0 0 .1 .1 .1 .1 .2 .2 .2 .4 .4 .6 .6 .7 .7 .9 .9 .9 1 1]; 380s 380s assert (stretchlim (im), [0; 1]) 380s 380s ## Consider the returned lower limit in this test. A lower limit 380s ## of 0.1 will saturate two elements (10%), while 0.2 will saturate 380s ## 6 elements (30%). Both have the same distance to 20% but returning 380s ## 0.1 is Matlab compatible. 380s ## Now looking at the higher limit. A limit of .9 will saturate 380s ## 2 elements (10%), while a limit of 0.7 will saturate 5 elements (25%). 380s ## However, for Matlab compatibility we must return .9 even though 380s ## 25% would be closer to 20%. 380s ## Basically, it's not just rounded. 380s assert (stretchlim (im, .2), [0.1; 0.9]) 380s 380s assert (stretchlim (im, .15), [0.1; 0.9]) 380s assert (stretchlim (im, .1), [0.1; 0.9]) 380s assert (stretchlim (im, .25), [0.1; 0.7]) 380s 380s ## Reorder the vector of values (real images don't have the values 380s ## already sorted), just to be sure it all works. 380s im([6 3 16 11 7 17 14 8 5 19 15 1 2 4 18 13 9 20 10 12]) = im; 380s assert (stretchlim (im, .2), [0.1; 0.9]) 380s assert (stretchlim (im, .15), [0.1; 0.9]) 380s assert (stretchlim (im, .1), [0.1; 0.9]) 380s assert (stretchlim (im, .25), [0.1; 0.7]) 380s ***** assert (stretchlim (0.01:.001:1), [0.019; 0.991], eps) 380s ***** assert (stretchlim (0.01:.001:1, [0.01,0.95]), [0.019; 0.951], eps) 380s ***** assert (stretchlim (0.01:.001:1, 0), [0.01; 1]) 380s ***** assert (stretchlim (single (0.01:.001:1)), 380s double (single (0.01:.001:1)([10; 982])).') 380s ***** xtest 380s assert (stretchlim ([(.05:.05:1) (2:4)], 0.2), [0.25; 0.95], eps) 380s assert (stretchlim ([(.05:.05:1) (2:5)], 0.2), [0.25; 1]) 380s assert (stretchlim ([(.05:.05:1) (2:6)], 0.2), [0.3; 1]) 380s assert (stretchlim ([(.05:.05:1) (2:7)], 0.2), [0.3; 1]) 380s !!!!! known failure 380s ASSERT errors for: assert (stretchlim ([(.05:.05:1), (2:6)], 0.2),[0.3; 1]) 380s 380s Location | Observed | Expected | Reason 380s (1) 0.3 0.3 Abs err 5.5511e-17 exceeds tol 0 by 6e-17 380s ***** test 380s assert (stretchlim ([(-6:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 380s assert (stretchlim ([(-5:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 380s ***** test 380s im = rand (4, 4, 2, 3, 2); 380s rv = zeros (2, 2, 3, 2); 380s for p = 1:2 380s for q = 1:3 380s for r = 1:2 380s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0.25); 380s endfor 380s endfor 380s endfor 380s assert (stretchlim (im, 0.25), rv) 380s ***** test 380s im = rand (4, 4, 2, 3, 2); 380s rv = zeros (2, 2, 3, 2); 380s for p = 1:2 380s for q = 1:3 380s for r = 1:2 380s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0); 380s endfor 380s endfor 380s endfor 380s assert (stretchlim (im, 0), rv) 380s ***** assert (stretchlim (zeros (5)), [0; 1]) 380s ***** assert (stretchlim (ones (5)), [0; 1]) 380s ***** assert (stretchlim (.6 * ones (5)), [0; 1]) 380s ***** assert (stretchlim (zeros (3, 3, 3, 3)), repmat ([0; 1], [1 3 3])) 380s ***** assert (stretchlim ([0 .5 .5 .5 .5 1], .2), [0; 1]) 380s ***** test 380s im = repmat ((magic (5) -1) / 24, [1 1 3 3]); 380s im(:,:,1,1) = 0; 380s im(:,:,2,2) = .5; 380s im(:,:,3,3) = 1; 380s lims = stretchlim (im, 0.2); 380s assert (size (lims), [2 3 3]) 380s assert (lims(:, [2 3 4 6 7 8]), 380s repmat ([(1/24)*round(24*.2); 1-((1/24)*round(24*.2))], [1 6]), eps) 380s assert (lims(:, [1 5 9]), repmat ([0; 1], [1 3])) 380s 45 tests, 44 passed, 1 known failure, 0 skipped 380s [inst/houghlines.m] 380s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/houghlines.m 380s ***** shared BW0, theta0, rho0, peaks0_1, peaks0_2, lines0_1, lines0_2, BW1, theta1, rho1, peaks1, lines1 380s 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]); 380s theta0 = [-90:89]; 380s rho0 = [-7:7]; 380s peaks0_1 = [11 130]; 380s peaks0_2 = [11 130; 4 1]; 380s lines0_1 = struct ("point1", {[1,5]}, "point2", {[5,1]}, "theta", {39}, "rho", {3}); 380s lines0_2 = struct ("point1", {[1,5], [1,5]}, "point2", {[5,1],[5,5]}, "theta", {39,-90}, "rho", {3, -4}); 380s BW1 = diag(ones(50,1)); 380s theta1 = [-90:89]; 380s rho1 = -70:70; 380s peaks1 = [71 46]; 380s lines1 = struct ("point1", {[1 1]}, "point2", {[50 50]}, "theta", {-45}, "rho", {0}); 380s ***** error houghlines () 380s ***** error houghlines (BW1) 380s ***** error houghlines (BW1, theta1) 380s ***** error houghlines (BW1, theta1, rho1) 381s ***** assert (houghlines (BW1, theta1, rho1, peaks1), lines1) 381s ***** error (houghlines (BW1, theta1, rho1, peaks1, [1 2 3])) 381s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5), lines1) 381s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2), lines1) 381s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5, "MinLength", 2), lines1) 381s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5), lines1) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, [1 2 3]) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5, [1 2 3]) 381s ***** assert (houghlines (double (BW1), theta1, rho1, peaks1), lines1) 381s ***** error houghlines (ones(5, 5, 5), theta1, rho1, peaks1) 381s ***** error houghlines ("nonsense", theta1, rho1, peaks1) 381s ***** error houghlines (BW1, ones(5), rho1, peaks1) 381s ***** error houghlines (BW1, "nonsense", rho1, peaks1) 381s ***** error houghlines (BW1, theta1, ones(5), peaks1) 381s ***** error houghlines (BW1, theta1, "nonsense", peaks1) 381s ***** error houghlines (BW1, theta1, rho1, ones(5)) 381s ***** error houghlines (BW1, theta1, rho1, ones(2,2,2)) 381s ***** error houghlines (BW1, theta1, rho1, "nonsense") 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "nonsense", 5) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", -5) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", [3 4]) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", "nonsense") 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", -5) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", [3 4]) 381s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", "nonsense") 381s ***** test 381s out = houghlines(BW0, theta0, rho0, peaks0_2, "MinLength", 1); 381s assert (out, lines0_2) # includes class = struct, size = [1,2] 381s ***** test # for empty output 381s n = 100; 381s BW = false (n); 381s a = 50; % line starts at left side at row a 381s b = 3; % slope of line is 1:b 381s for column = 1:n 381s if (rem (column, b) == 0) 381s row = a - column/b; 381s BW(row, column) = true; 381s BW(row, column+1) = true; 381s end 381s end 381s theta = [-90: 89]; 381s rho = [-141:141]; 381s peaks = [188, 163]; 381s out = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 5); 381s assert (out, struct([])) 381s ***** test 381s out0_1 = houghlines(BW0, theta0, rho0, peaks0_1, 'MinLength', 1); 381s out0_2 = houghlines(BW0, theta0, rho0, peaks0_2, 'MinLength', 1); 381s assert (out0_1, lines0_1); 381s assert (out0_2, lines0_2); 381s ***** test 381s out = houghlines(BW1, theta1, rho1, peaks1); 381s assert (out, lines1); 381s ***** test 381s n = 100; 381s BW = false (n); 381s a = 50; % line starts at left side at row a 381s b = 3; % slope of line is 1:b 381s for column = 1:n 381s if (rem (column, b) == 0) 381s row = a - column/b; 381s BW(row, column) = true; 381s BW(row, column+1) = true; 381s end 381s end 381s theta = [-90:89]; 381s rho = [-141:141]; 381s peaks = [188, 163]; 381s lines_1 = struct ("point1", {[99 17]}, "point2", {[3 49]}, "theta", {72}, "rho", {46}); 381s out_1 = houghlines(BW, theta, rho, peaks); 381s out_n = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 1); 381s assert (out_1, lines_1) 381s assert (size (out_n), [1, 29]) 381s ***** demo 381s I = checkerboard (30, 1, 1); 381s I = imnoise(I, "salt & pepper", 0.2); 381s figure, imshow (I); 381s title ("noisy image with some lines"); 381s BW = edge (I, "canny"); 381s figure, imshow(BW); 381s title ("edge image"); 381s [H, theta, rho] = hough (BW); 381s figure, imshow (mat2gray (H), [], "XData", theta, "YData", rho); 381s title ("Hough transform of edge image \n 2 peaks marked"); 381s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 381s peaks = houghpeaks (H, 2); 381s peaks_rho = rho(peaks(:,1)); 381s peaks_theta = theta(peaks(:,2)); 381s hold on; plot (peaks_theta, peaks_rho, "sr"); hold off; 381s lines = houghlines (BW, theta, rho, peaks); 381s figure, imshow (I), hold on; 381s for n = 1:length (lines) 381s points = [lines(n).point1; lines(n).point2]; 381s plot (points(:,1), points(:,2), "r"); 381s endfor 381s title ("the two strongest lines (edges) in the image"), hold off; 381s 34 tests, 34 passed, 0 known failure, 0 skipped 381s [inst/imabsdiff.m] 381s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imabsdiff.m 381s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([26 50])), uint8 ([ 3 200])); # default to first class and abs works 381s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 1 200])); # defining output class works (not in matlab) 381s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 255]), "int8"), int8 ([ 1 5])); # signed integers kinda work (not in matlab) 381s ***** assert (imabsdiff (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 1])); # return double for two logical images 381s ***** fail ("imabsdiff (uint8 ([23 250]), 30"); # fails subtracting a scalar 381s ***** fail ("imabsdiff (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 381s 6 tests, 6 passed, 0 known failure, 0 skipped 381s [inst/isind.m] 381s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/isind.m 381s ***** assert (isind ([]), false); 381s ***** assert (isind (1:10), true); 381s ***** assert (isind (0:10), false); 381s ***** assert (isind (1), true); 381s ***** assert (isind (0), false); 381s ***** assert (isind ([1.3 2.4]), false); 381s ***** assert (isind ([1 2; 3 4]), true); 381s ***** assert (isind (randi (100, 10, 10, 1, 4)), true); 381s ***** assert (isind (randi (100, 10, 10, 3, 4)), false); 381s ***** assert (isind (randi (100, 10, 10, 1, 4, 2)), false); 381s 10 tests, 10 passed, 0 known failure, 0 skipped 381s [inst/impyramid.m] 381s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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/medfilt2.m] 381s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/medfilt2.m 381s ***** shared b, f 381s b = [ 0 1 2 3 381s 1 8 12 12 381s 4 20 24 21 381s 7 22 25 18]; 381s f = [ 0 1 2 0 381s 1 4 12 3 381s 4 12 20 12 381s 0 7 20 0]; 381s ***** assert (medfilt2 (b), f); 381s 381s f = [ 0 1 2 3 381s 1 8 12 12 381s 4 20 24 18 381s 4 20 24 18]; 381s ***** assert (medfilt2 (b, true (3, 1)), f); 381s ***** assert (medfilt2 (b, [3 1]), f); 381s 381s f = [ 1 8 10 10 381s 1 8 12 12 381s 4 20 24 18 381s 7 20 24 18]; 381s ***** assert (medfilt2 (b, [3 1], 10), f); 381s ***** assert (medfilt2 (b, 10, [3 1]), f); 381s 381s f = [ 0.5 4.5 7.0 7.5 381s 2.5 14.0 18.0 15.0 381s 2.5 14.0 18.0 15.0 381s 2.0 10.0 12.0 9.0]; 381s ***** assert (medfilt2 (b, true (4, 1)), f); 381s ***** assert (medfilt2 (b, [4 1]), f); 381s ***** test 381s A = zeros (3, 3); 381s B = ones (3, 3); 381s C = [1 1 1; 2 2 2; 3 3 3]; 381s D = C'; 381s E = ones (3, 3); 381s E(2,2) = 2; 381s F = 3 .* ones (3, 3); 381s F(2,2) = 1; 381s G = [-1 2 7; -5 2 8; -7 pi 9]; 381s H = [5 2 8; 1 -3 1; 5 1 0]; 381s A_out = [0 0 0; 0 0 0; 0 0 0]; 381s B_out = [0 1 0; 1 1 1; 0 1 0]; 381s C_out = [0 1 0; 1 2 1; 0 2 0]; 381s D_out = [0 1 0; 1 2 2; 0 1 0]; 381s E_out = [0 1 0; 1 1 1; 0 1 0]; 381s F_out = [0 3 0; 3 3 3; 0 3 0]; 381s G_out = [0 0 0; 0 2 2; 0 0 0]; 381s H_out = [0 1 0; 1 1 0; 0 0 0]; 381s assert (medfilt2 (A), A_out); 381s assert (medfilt2 (B), B_out); 381s assert (medfilt2 (C), C_out); 381s assert (medfilt2 (D), D_out); 381s assert (medfilt2 (E), E_out); 381s assert (medfilt2 (F), F_out); 381s assert (medfilt2 (G), G_out); 381s assert (medfilt2 (H), H_out); 381s 8 tests, 8 passed, 0 known failure, 0 skipped 381s [inst/wiener2.m] 381s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/wiener2.m 381s ***** shared im0, im0_out, im0_n 381s im0 = ones (5, 5); 381s im0_out = ones (5, 5); 381s im0_out(1:4:5, 1:4:5) = 0.67111; 381s im0_out(1:4:5, 2:4) = 0.78074; 381s im0_out(2:4, 1:4:5) = 0.78074; 381s im0_n = 0.1462; 381s ***** error wiener2 () 382s ***** assert (wiener2 (im0)) 382s ***** assert (wiener2 (im0, [2, 3])) 382s ***** assert (wiener2 (im0, 0.5)) 382s ***** assert (wiener2 (im0, [2, 3], 0.5)) 382s ***** error wiener2 (im0, [2, 3], 0.5, 2) 382s ***** test 382s [im_out, noise_out] = wiener2 (im0); 382s assert (size (im_out), size (im0)) 382s assert (class (noise_out), "double") 382s assert (numel (noise_out), 1) 382s ***** assert (wiener2 (im0), im0_out, 1e-5) 382s ***** assert (wiener2 (single (im0)), single (im0_out), 1e-5) 382s ***** assert (class (wiener2 (single (im0))), "single") 382s ***** assert (wiener2 (im2uint8 (im0)), im2uint8 (im0_out)) 382s ***** assert (class (wiener2 (im2uint8 (im0))), "uint8") 382s ***** assert (wiener2 (im2uint16 (im0)), im2uint16 (im0_out), 1) 382s ***** assert (class (wiener2 (im2uint16 (im0))), "uint16") 382s ***** assert (wiener2 (im2int16 (im0)), im2int16 (im0_out), 1) 382s ***** assert (class (wiener2 (im2int16 (im0))), "int16") 382s ***** test 382s im_out = wiener2 (im0); 382s assert (im_out, im0_out, 1e-4) 382s [out, n] = wiener2 (im0); 382s assert (out, im0_out, 1e-4) 382s assert (n, im0_n, 1e-4) 382s ***** test 382s im1 = zeros (5, 5); 382s im1(2:4, 2:4) = 1; 382s im1_out = [ 382s 0.1111 0.2222 0.2726 0.2222 0.1111; 382s 0.2222 0.5911 0.7274 0.5911 0.2222; 382s 0.2726 0.7274 1.0000 0.7274 0.2726; 382s 0.2222 0.5911 0.7274 0.5911 0.2222; 382s 0.1111 0.2222 0.2726 0.2222 0.1111]; 382s im1_n = 0.1817; 382s im1_out_55 = [ 382s 0.1600 0.2400 0.2400 0.2400 0.1600; 382s 0.2400 0.4667 0.4667 0.4667 0.2400; 382s 0.2400 0.4667 0.4667 0.4667 0.2400; 382s 0.2400 0.4667 0.4667 0.4667 0.2400; 382s 0.1600 0.2400 0.2400 0.2400 0.1600]; 382s im1_n_55 = 0.1920; 382s im1_out_05 = [ 382s 0.1111 0.2222 0.3333 0.2222 0.1111; 382s 0.2222 0.4444 0.6667 0.4444 0.2222; 382s 0.3333 0.6667 1.0000 0.6667 0.3333; 382s 0.2222 0.4444 0.6667 0.4444 0.2222; 382s 0.1111 0.2222 0.3333 0.2222 0.1111]; 382s im1_out_55_05 = [ 382s 0.1600 0.2400 0.2400 0.2400 0.1600; 382s 0.2400 0.3600 0.3600 0.3600 0.2400; 382s 0.2400 0.3600 0.3600 0.3600 0.2400; 382s 0.2400 0.3600 0.3600 0.3600 0.2400; 382s 0.1600 0.2400 0.2400 0.2400 0.1600]; 382s im1_out_35 = [ 382s 0.1333 0.2000 0.2000 0.2000 0.1333; 382s 0.2642 0.5156 0.5156 0.5156 0.2642; 382s 0.3230 0.6770 0.6770 0.6770 0.3230; 382s 0.2642 0.5156 0.5156 0.5156 0.2642; 382s 0.1333 0.2000 0.2000 0.2000 0.1333]; 382s im1_out_51 = [ 382s 0 0.2400 0.2400 0.2400 0 382s 0 0.7600 0.7600 0.7600 0 382s 0 0.7600 0.7600 0.7600 0 382s 0 0.7600 0.7600 0.7600 0 382s 0 0.2400 0.2400 0.2400 0]; 382s assert (wiener2 (im1), im1_out, 1e-4) 382s [out, n] = wiener2 (im1); 382s assert (out, im1_out, 1e-4) 382s assert (n, im1_n, 1e-4) 382s assert (wiener2 (im1, [5, 5]), im1_out_55, 1e-4) 382s [out, n] = wiener2 (im1, [5, 5]); 382s assert (out, im1_out_55, 1e-4) 382s assert (n, im1_n_55, 1e-4) 382s assert (wiener2 (im1, 0.5), im1_out_05, 1e-4) 382s assert (wiener2 (im1, [5, 5], 0.5), im1_out_55_05, 1e-4) 382s assert (wiener2 (im1, [3, 5]), im1_out_35, 1e-4) 382s assert (wiener2 (im1, [5, 1]), im1_out_51, 1e-4) 382s ***** test 382s ## Tests for even-sized neighbourhood 382s im1 = zeros (5, 5); 382s im1(2:4, 2:4) = 1; 382s 382s im1_out_23 = [ 382s 0.1667 0.2233 0.2978 0.2233 0.1667 382s 0.2233 0.7767 1.0000 0.7767 0.2233 382s 0.2233 0.7767 1.0000 0.7767 0.2233 382s 0.1667 0.5533 0.7022 0.5533 0.1667 382s 0 0 0 0 0]; 382s 382s im1_out_43 = [ 382s 0.1667 0.2813 0.3750 0.2813 0.1667 382s 0.2500 0.6250 0.7500 0.6250 0.2500 382s 0.2500 0.6250 0.7500 0.6250 0.2500 382s 0.1667 0.4375 0.6250 0.4375 0.1667 382s 0.0833 0.1667 0.2500 0.1667 0.0833]; 382s 382s im1_out_44 = [ 382s 0.2500 0.3018 0.3018 0.2500 0.1250 382s 0.3018 0.6647 0.6647 0.4971 0.1875 382s 0.3018 0.6647 0.6647 0.4971 0.1875 382s 0.2500 0.4971 0.4971 0.2500 0.1250 382s 0.1250 0.1875 0.1875 0.1250 0.0625]; 382s 382s assert (wiener2 (im1, [2, 3]), im1_out_23, 1e-4) 382s assert (wiener2 (im1, [4, 3]), im1_out_43, 1e-4) 382s assert (wiener2 (im1, [4, 4]), im1_out_44, 1e-4) 382s ***** test 382s im2 = zeros (5, 5); 382s im2(2:4, 2:4) = 70; 382s im2(3, 3) = 90; 382s im2 = uint8 (im2); 382s im2_out = uint8 ([ 382s 8 16 20 16 8 ; 382s 16 46 54 46 16; 382s 20 54 72 54 20; 382s 16 46 54 46 16; 382s 8 16 20 16 8 ]); 382s im2_n = 0.0146; 382s im2_out_55 = uint8 ([ 382s 12 18 18 18 12; 382s 18 32 32 32 18; 382s 18 32 35 32 18; 382s 18 32 32 32 18; 382s 12 18 18 18 12]); 382s im2_n_55 = 0.0160; 382s im2_out_03 = uint8 ([ 382s 8 16 23 16 8 ; 382s 16 33 49 33 16; 382s 23 49 72 49 23; 382s 16 33 49 33 16; 382s 8 16 23 16 8 ]); 382s im2_n_03 = 0.3000; 382s [out, n] = wiener2 (im2); 382s assert (out, im2_out) 382s assert (n, im2_n, 1e-4) 382s [out, n] = wiener2 (im2, [5, 5]); 382s assert (out, im2_out_55) 382s assert (n, im2_n_55, 1e-4) 382s [out, n] = wiener2 (im2, 0.3); 382s assert (out, im2_out_03) 382s assert (n, im2_n_03, 1e-4) 382s ***** test 382s im3 = zeros (5, 5); 382s im3(2:4, 2:4) = 70; 382s im3(3, 3) = 20; 382s im3 = uint8 (im3); 382s im3_out = uint8 ([ 382s 8 16 19 16 8 ; 382s 16 32 47 32 16; 382s 19 47 64 47 19; 382s 16 32 47 32 16; 382s 8 16 19 16 8 ]); 382s im3_n = 0.0134; 382s [out, n] = wiener2 (im3); 382s assert (out, im3_out) 382s assert (n, im3_n, 1e-4) 382s ***** test 382s im4 = 50 .* ones (5, 5); 382s im4(:, 1) = 200; 382s im4(:, 2) = 100; 382s im4 = uint8 (im4); 382s im4_out = uint8 ([ 382s 148 90 44 33 22; 382s 161 111 67 50 33; 382s 161 111 67 50 33; 382s 161 111 67 50 33; 382s 148 90 44 33 22]); 382s im4_n = 0.0398; 382s [out, n] = wiener2 (im4); 382s assert (out, im4_out) 382s assert (n, im4_n, 1e-4) 382s ***** test 382s im5 = zeros (100, 100); 382s im5(30, 30) = 1; 382s im5_out_center = [ 382s 0 0 0 0 0 0 0; 382s 0 0 0 0 0 0 0; 382s 0 0 0.0001 0.0001 0.0001 0 0; 382s 0 0 0.0001 0.9992 0.0001 0 0; 382s 0 0 0.0001 0.0001 0.0001 0 0; 382s 0 0 0 0 0 0 0; 382s 0 0 0 0 0 0 0]; 382s im5_n = 8.8889e-5; 382s [out, n] = wiener2 (im5); 382s out_center = out(27:33, 27:33); 382s assert (out_center, im5_out_center, 1e-4) 382s assert (n, im5_n, 1e-4) 382s ***** test 382s im = zeros (100, 10, 10); 382s im(5, 5, 5) = 1; 382s 382s [out, n] = wiener2 (im, [3 3]); 382s expected_out = im; 382s expected_out(4:6,4:6,5) = [ 382s 0.0001 0.0001 0.0001 382s 0.0001 0.9992 0.0001 382s 0.0001 0.0001 0.0001]; 382s assert (out, expected_out, eps) 382s 382s [out, n] = wiener2 (im, [3 3 3]); 382s expected_out = im; 382s expected_out(4:6,4:6,4:6) = 0.0001; 382s expected_out(5,5,5) = 0.9974; 382s assert (out, expected_out, eps) 382s 382s ## Default in ND, use nhood 3 even for singleton dimensions. 382s assert (wiener2 (im), wiener2 (im, [3 3 3])) 382s 382s im = reshape (im, [100 10 1 10]); 382s expected_out = im; 382s expected_out(4:6,4:6,1,4:6) = 0.0001/3; 382s expected_out(5,5,1,5) = 1-(80*(0.0001/3)); 382s assert (wiener2 (im), wiener2 (im, [3 3 3 3])) 382s assert (wiener2 (im), expected_out, eps) 382s 382s expected_out = im; 382s expected_out(4:6,4:6,1,4:6) = 0.0001; 382s expected_out(5,5,1,5) = 0.9974; 382s assert (wiener2 (im, [3 3 1 3]), expected_out, eps) 382s ***** test 382s expected = [0.2222 0.3926 0.3926 0.3926 0.2222]; 382s assert (wiener2 (ones (1, 5)), expected, .0001) 382s ***** assert (wiener2 ([]), []) 382s ***** assert (wiener2 (logical ([0 0; 1 1])), true (2, 2)) 382s ***** demo 382s I = phantom (); 382s J = imnoise (I, "gaussian", 0, 0.02); 382s figure, imshow (J); 382s title ("Image with added Gaussian noise"); 382s K = wiener2 (J, [5 5]); 382s figure, imshow (K); 382s title ("Image with noise reduced by wiener2 filtering"); 382s 27 tests, 27 passed, 0 known failure, 0 skipped 382s [inst/stdfilt.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/stdfilt.m 382s ***** test 382s im = stdfilt (ones (5)); 382s assert (im, zeros (5)) 382s ***** test 382s A = zeros (3,3); 382s B = ones (3,3); 382s C = [1 1 1; 2 2 2; 3 3 3]; 382s D = C'; 382s E = ones (3,3); 382s E(2,2) = 2; 382s F = 3 .* ones (3,3); 382s F(2,2) = 1; 382s G = [-1 2 7; -5 2 8; -7 pi 9]; 382s H = [5 2 8; 1 -3 1; 5 1 0]; 382s A_out = [0 0 0; 0 0 0; 0 0 0]; 382s B_out = [0 0 0; 0 0 0; 0 0 0]; 382s C_out = repmat ([std([1 1 1 1 1 1 2 2 2]) 382s std([1 1 1 2 2 2 3 3 3]) 382s std([2 2 2 3 3 3 3 3 3])], [1 3]); 382s D_out = C_out'; 382s E_out = (1/3) .* ones (3,3); 382s F_out = (2/3) .* ones (3,3); 382s 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]); 382s 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]); 382s 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])]; 382s 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]); 382s 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]); 382s 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])]; 382s assert (stdfilt (A), A_out) 382s assert (stdfilt (B), B_out) 382s assert (stdfilt (C), C_out, 4*eps) 382s assert (stdfilt (D), D_out, 4*eps) 382s assert (stdfilt (E), E_out, 4*eps) 382s assert (stdfilt (F), F_out, 4*eps) 382s assert (stdfilt (G), G_out, 4*eps) 382s assert (stdfilt (H), H_out, 4*eps) 382s im = stdfilt (ones (5, 'logical')); 382s assert (im, zeros (5)) 382s im = stdfilt (ones (5, 'uint8')); 382s assert (im, zeros (5)) 382s assert (stdfilt (int8(H), H_out, 4*eps)) 382s assert (stdfilt (uint8(H), H_out, 4*eps)) 382s assert (stdfilt (int16(H), H_out, 4*eps)) 382s assert (stdfilt (uint16(H), H_out, 4*eps)) 382s assert (stdfilt (int32(H), H_out, 4*eps)) 382s assert (stdfilt (uint32(H), H_out, 4*eps)) 382s assert (stdfilt (int64(H), H_out, 4*eps)) 382s assert (stdfilt (uint64(H), H_out, 4*eps)) 382s assert (stdfilt (single(H), H_out, 4*eps)) 382s 2 tests, 2 passed, 0 known failure, 0 skipped 382s [inst/qtgetblk.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/qtgetblk.m 382s ***** demo 382s [vals,r,c]=qtgetblk(eye(4),qtdecomp(eye(4)),2) 382s % Returns 2 blocks, at [1,3] and [3,1] (2*2 zeros blocks) 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 [va]=qtgetblk(A,S,8); 382s [vb,r,c]=qtgetblk(A,S,8); 382s [vc,i]=qtgetblk(A,S,8); 382s assert(va, vb); 382s assert(va, vc); 382s assert(i,[]); 382s assert(r,[]); 382s assert(c,[]); 382s R=[]; 382s assert(va,R); 382s ***** test 382s [va]=qtgetblk(A,S,4); 382s [vb,r,c]=qtgetblk(A,S,4); 382s [vc,i]=qtgetblk(A,S,4); 382s assert(va, vb); 382s assert(va, vc); 382s assert(i, find(full(S)==4)); 382s assert(r,[1;5]); 382s assert(c,[1;5]); 382s R=zeros(4,4,2); 382s R(:,:,1)=A(1:4,1:4); 382s R(:,:,2)=A(5:8,5:8); 382s assert(va,R); 382s ***** test 382s [va]=qtgetblk(A,S,2); 382s [vb,r,c]=qtgetblk(A,S,2); 382s [vc,i]=qtgetblk(A,S,2); 382s assert(va, vb); 382s assert(va, vc); 382s assert(i, find(full(S)==2)); 382s assert(r,[7;5;7;1;3;1;3]); 382s assert(c,[1;3;3;5;5;7;7]); 382s R=zeros(2,2,7); 382s R(:,:,1)=A(7:8,1:2); 382s R(:,:,2)=A(5:6,3:4); 382s R(:,:,3)=A(7:8,3:4); 382s R(:,:,4)=A(1:2,5:6); 382s R(:,:,5)=A(3:4,5:6); 382s R(:,:,6)=A(1:2,7:8); 382s R(:,:,7)=A(3:4,7:8); 382s assert(va,R); 382s 3 tests, 3 passed, 0 known failure, 0 skipped 382s [inst/imcomplement.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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/lab2double.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2double.m 382s ***** test 382s l_max_f = 100 + (25500 / 65280); 382s ab_max_f = 127 + (255 / 256); 382s cm = [ 382s -Inf 382s Inf 382s NaN 382s l_max_f 382s ab_max_f 382s -200 382s -129 382s -128 382s -128+(255/65280)*(0.499999) 382s -128+(255/65280)*(0.500001) # should be 0.5, but float rounding error 382s -128+(255/65280)*(0.500002) 382s -127 382s -1 382s 0 382s (100/65280)*(0.499999) 382s (100/65280)*(0.51) 382s (100/65280)*(0.500001) 382s 1 382s 99 382s 100 382s 101 382s 126 382s 127 382s 128 382s 254 382s 255 382s 256 382s 257]; 382s cm = repmat (cm, [1 3]); 382s im2d = reshape (cm, [7 4 3]); 382s imnd = permute (im2d, [1 4 3 2]); 382s 382s cm_uint8 = uint8 ([ 382s 0 0 0 382s 255 255 255 382s 255 255 255 382s 255 228 228 382s 255 255 255 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 1 1 382s 0 127 127 382s 0 128 128 382s 0 128 128 382s 0 128 128 382s 0 128 128 382s 3 129 129 382s 252 227 227 382s 255 228 228 382s 255 229 229 382s 255 254 254 382s 255 255 255 382s 255 255 255 382s 255 255 255 382s 255 255 255 382s 255 255 255 382s 255 255 255]); 382s 382s assert (lab2uint8 (cm), cm_uint8) 382s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 382s assert (lab2uint8 (im2d), im2d_uint8) 382s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 382s 382s cm_uint16 = uint16 ([ 382s 0 0 0 382s 65535 65535 65535 382s 65535 65535 65535 382s 65535 58468 58468 382s 65535 65535 65535 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 0 0 382s 0 1 1 382s 0 1 1 382s 0 256 256 382s 0 32512 32512 382s 0 32768 32768 382s 0 32768 32768 382s 1 32768 32768 382s 1 32768 32768 382s 653 33024 33024 382s 64627 58112 58112 382s 65280 58368 58368 382s 65535 58624 58624 382s 65535 65024 65024 382s 65535 65280 65280 382s 65535 65535 65535 382s 65535 65535 65535 382s 65535 65535 65535 382s 65535 65535 65535 382s 65535 65535 65535]); 382s 382s assert (lab2uint16 (cm), cm_uint16) 382s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 382s assert (lab2uint16 (im2d), im2d_uint16) 382s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 382s 382s assert (lab2single (cm), single (cm)) 382s assert (lab2single (im2d), single (im2d)) 382s assert (lab2single (imnd), single (imnd)) 382s 1 test, 1 passed, 0 known failure, 0 skipped 382s [inst/imfuse.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imfuse.m 382s ***** error id=Octave:invalid-fun-call imfuse () 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "xxx") 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "interpolation") 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [0 0 0]) 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [1 1 1]) 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [2 2 2]) 382s ***** error id=Octave:expected-less-equal imfuse (1, 1, "ColorChannels", [42 0 0]) 382s ***** error id=Octave:expected-greater-equal imfuse (1, 1, "ColorChannels", [-1 2 0]) 382s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", "deep-purple") 382s ***** assert (imfuse (1, 2, "blend"), uint8 (0)) 382s ***** assert (imfuse (1, 2, "blend", "Scaling", "independent"), uint8 (0)) 382s ***** assert (imfuse (1, 2, "blend", "Scaling", "joint"), uint8 (128)) 382s ***** assert (imfuse (1, 2, "blend", "Scaling", "none"), uint8 (255)) 382s ***** assert (imfuse (1, 2, "falsecolor"), uint8 (zeros (1, 1, 3))) 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 20]; 382s expected = uint8 (repmat ([0 128 255], [1 1 3])); 382s assert (imfuse (a, b), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = uint8 ([0 10 20]); 382s expected = uint8 (repmat ([0 128 255], [1 1 3])); 382s assert (imfuse (a, b), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = uint8 ([0 10 20]); 382s expected = uint8 (repmat ([0 128 255], [1 1 3])); 382s assert (imfuse (a, b, "falsecolor"), expected); 382s ***** test 382s a = logical([0 1 1]); 382s b = logical([0 1 1]); 382s expected = uint8 (repmat ([0 255 255], [1 1 3])); 382s assert (imfuse (a, b), expected); 382s ***** test 382s a = logical([0 1 1]); 382s b = logical([0 1 1]); 382s expected = uint8 (repmat ([0 255 255], [1 1 3])); 382s assert (imfuse (a, b, "falsecolor"), expected); 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 20]; 382s expected = uint8 (repmat ([0 255 255], [1 1 3])); 382s assert (imfuse (a, b, "Scaling", "none"), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = uint8 ([0 10 20]); 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 10 20]; 382s expected(:, :, 2) = [0 1 2]; 382s expected(:, :, 3) = [0 10 20]; 382s assert (imfuse (a, b, "Scaling", "none"), expected); 382s ***** test 382s a = [0 1 2]; 382s b = uint8 ([0 10 20]); 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 10 20]; 382s expected(:, :, 2) = [0 255 255]; 382s expected(:, :, 3) = [0 10 20]; 382s assert (imfuse (a, b, "Scaling", "none"), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = [0 10 20]; 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 255 255]; 382s expected(:, :, 2) = [0 1 2]; 382s expected(:, :, 3) = [0 255 255]; 382s assert (imfuse (a, b, "Scaling", "none"), expected); 382s ***** test 382s a = [0 .1 2]; 382s b = [0 .01 .02]; 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 3 5]; 382s expected(:, :, 2) = [0 26 255]; 382s expected(:, :, 3) = [0 3 5]; 382s assert (imfuse (a, b, "Scaling", "none"), expected); 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 20]; 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 13 26]; 382s expected(:, :, 3) = [0 128 255]; 382s assert (imfuse (a, b, "Scaling", "joint"), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = [0 10 20]; 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 13 26]; 382s expected(:, :, 3) = [0 128 255]; 382s assert (imfuse (a, b, "Scaling", "joint"), expected); 382s ***** test 382s a = [0 150 300]; 382s b = uint8 ([0 10 20]); 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 9 17]; 382s expected(:, :, 2) = [0 128 255]; 382s expected(:, :, 3) = [0 9 17]; 382s assert (imfuse (a, b, "Scaling", "joint"), expected); 382s ***** test 382s a = uint8 ([0 1 2]); 382s b = uint8 ([0 10 20]); 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 13 26]; 382s expected(:, :, 3) = [0 128 255]; 382s assert (imfuse (a, b, "Scaling", "joint"), expected); 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 20]; 382s expected = uint8 (zeros ([1, 3, 3])); 382s expected(:, :, 1) = [0 0 0]; 382s expected(:, :, 2) = [0 128 255]; 382s expected(:, :, 3) = [0 13 26]; 382s assert (imfuse (a, b, "Scaling", "joint", "ColorChannels", [0 2 1]), expected); 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 15]; 382s c = imfuse (a, b, "ColorChannels", "red-cyan"); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 170 255]; 382s expected(:, :, 3) = [0 170 255]; 382s assert (c, expected); 382s ***** test 382s a = [0 1 2]; 382s b = [0 10 15]; 382s c = imfuse (a, b, "ColorChannels", "green-magenta"); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [0 170 255]; 382s expected(:, :, 2) = [0 128 255]; 382s expected(:, :, 3) = [0 170 255]; 382s assert (c, expected); 382s ***** test 382s a = [0 5 2]; 382s b = [0 10 20]; 382s assert (imfuse (a, b, "diff"), uint8 ([0 213 255])); 382s ***** test 382s a = [0 5 2]; 382s b = [0 10 20]; 382s assert (imfuse (a, b, "diff", "Scaling", "joint"), uint8 ([0 71 255])); 382s ***** test 382s a = [0 5 2]; 382s b = [0 10 20]; 382s assert (imfuse (a, b, "blend"), uint8 ([0 192 179])); 382s ***** test 382s a = magic (5); 382s b = a'; 382s c = imfuse (a, b, "falsecolor"); 382s expected = zeros (5, 5, 3); 382s expected(:, :, 1) = [ 382s 170 234 32 96 106 382s 244 43 53 117 181 382s 0 64 128 191 255 382s 74 138 202 213 11 382s 149 159 223 21 85]; 382s expected(:, :, 2) = [ 382s 170 244 0 74 149 382s 234 43 64 138 159 382s 32 53 128 202 223 382s 96 117 191 213 21 382s 106 181 255 11 85]; 382s expected(:, :, 3) = [ 382s 170 234 32 96 106 382s 244 43 53 117 181 382s 0 64 128 191 255 382s 74 138 202 213 11 382s 149 159 223 21 85]; 382s assert (c, uint8 (expected)); 382s ***** test 382s a = magic (5); 382s b = a'; 382s assert (imfuse (uint8 (a), uint8 (b), "blend", "Scaling", "none"), 382s uint8 ([17 24 3 9 13 382s 24 5 7 13 17 382s 3 7 13 20 24 382s 9 13 20 21 3 382s 13 17 24 3 9])); 382s ***** test 382s a = magic (5); 382s b = 2 * a'; 382s assert (imfuse (a, b, "blend", "Scaling", "independent"), 382s uint8 ([170 239 16 85 128 382s 239 43 59 128 170 382s 16 59 128 197 239 382s 85 128 197 213 16 382s 128 170 239 16 85])); 382s ***** test 382s a = magic (5); 382s b = 2 * a'; 382s assert (imfuse (a, b, "blend", "Scaling", "joint"), 382s uint8 ([128 177 18 68 91 382s 180 34 44 94 130 382s 11 47 96 146 182 382s 63 99 149 159 13 382s 102 125 175 16 65])); 382s ***** test 382s a = [0 1.2 5]; 382s b = [5 6.13 12]; 382s assert (imfuse (a, b, "blend"), uint8 ([0 51 255])); 382s ***** test 382s a = [0 5 2]; 382s b = [0 10 20]; 382s assert (imfuse (a, b, "blend", "Scaling", "joint"), uint8 ([0 96 141])); 382s ***** test 382s a = [0 5 2]; 382s b = [0 10 20]; 382s assert (imfuse (a, b, "montage"), uint8 ([0 255 102 0 128 255])); 382s ***** test 382s a = zeros (1, 100); 382s b = 2 * ones (1, 100); 382s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200)])); 382s assert (imfuse (a, b, "montage", "Scaling", "none"), 382s uint8 ([zeros(1, 100), 255 * ones(1, 100)])); 382s ***** test 382s a = zeros (1, 100, 3); 382s b = 2 * ones (1, 100); 382s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200, 3)])); 382s ***** test 382s a = 0.1 * ones (50, 50); 382s b = 0.2 * ones (50, 50); 382s c = imfuse (a, b, "checkerboard", "Scaling", "none"); 382s d = imresize (repmat([26, 51; 51, 26], [8, 8]), [50, 50], "nearest"); 382s assert (all (c(:) == d(:))); 382s ***** test 382s a = zeros (2, 2); 382s b = zeros (2, 2); 382s ra = imref2d (size (a), [0, 2], [0, 2]); 382s rb = imref2d (size (b), [0, 2], [2, 4]); 382s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 382s assert (rc.ImageSize, [4, 2]); 382s assert (rc.XWorldLimits, [0, 2]); 382s assert (rc.YWorldLimits, [0, 4]); 382s assert (rc.PixelExtentInWorldX, 1); 382s assert (rc.PixelExtentInWorldY, 1); 382s assert (rc.ImageExtentInWorldX, 2); 382s assert (rc.ImageExtentInWorldY, 4); 382s assert (rc.XIntrinsicLimits, [0.5, 2.5]); 382s assert (rc.YIntrinsicLimits, [0.5, 4.5]); 382s assert (c, uint8 (zeros (4, 2, 3))); 382s ***** xtest 382s a = zeros (5, 3); 382s b = ones (6, 5); 382s ra = imref2d (size (a), [15, 30], [2, 4]); 382s rb = imref2d (size (b), [10, 50], [5.5, 6.7]); 382s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 382s assert (rc.ImageSize, [24, 8]); 382s assert (rc.XWorldLimits, [10, 50]); 382s assert (rc.YWorldLimits, [2, 6.7]); 382s assert (rc.PixelExtentInWorldX, 5); 382s assert (rc.PixelExtentInWorldY, 0.19583333, 10e-9); 382s assert (rc.ImageExtentInWorldX, 40); 382s assert (rc.ImageExtentInWorldY, 4.7); 382s assert (rc.XIntrinsicLimits, [0.5, 8.5]); 382s assert (rc.YIntrinsicLimits, [0.5, 24.5]); 382s expected = uint8 (zeros (24, 8, 3)); 382s expected(19:23, 2:7, 1) = 255 * ones (5, 6); 382s expected(19:23, 2:7, 3) = 255 * ones (5, 6); 382s assert (c, expected); 382s !!!!! known failure 382s ASSERT errors for: assert (c,expected) 382s 382s Location | Observed | Expected | Reason 382s (19,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (19,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (20,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (21,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (22,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (23,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s ***** test 382s a = uint8 (reshape (1:1:9, [1 3 3])); 382s b = uint8 (reshape (10:2:26, [1 3 3])); 382s c = imfuse (a, b); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 128 255]; 382s expected(:, :, 3) = [0 128 255]; 382s assert (c, expected); 382s ***** test 382s a = uint8 (reshape (1:1:9, [1 3 3])); 382s b = uint8 (reshape (10:2:26, [1 3 3])); 382s c = imfuse (a, b, "Scaling", "independent"); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [0 128 255]; 382s expected(:, :, 2) = [0 128 255]; 382s expected(:, :, 3) = [0 128 255]; 382s assert (c, expected); 382s ***** test 382s a = uint8 (reshape (1:1:9, [1 3 3])); 382s b = uint8 (reshape (10:2:26, [1 3 3])); 382s c = imfuse (a, b, "Scaling", "joint"); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [191 223 255]; 382s expected(:, :, 2) = [0 16 32]; 382s expected(:, :, 3) = [191 223 255]; 382s assert (c, expected); 382s ***** test 382s a = uint8 (reshape (1:1:9, [1 3 3])); 382s b = uint8 (reshape (10:2:26, [1 3 3])); 382s c = imfuse (a, b, "Scaling", "none"); 382s expected = uint8 (zeros (1, 3, 3)); 382s expected(:, :, 1) = [15 17 19]; 382s expected(:, :, 2) = [3 4 5]; 382s expected(:, :, 3) = [15 17 19]; 382s assert (c, expected); 382s ***** xtest 382s a = zeros (5, 3); 382s b = ones (5, 3); 382s ra = imref2d (size (a), [10, 20], [30, 40]); 382s rb = imref2d (size (b), [10, 20], [30, 40]); 382s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 382s expected = uint8 (zeros (5, 3, 3)); 382s expected(:, 1:2, 1) = 255 * ones (5, 2); 382s expected(:, 1:2, 3) = 255 * ones (5, 2); 382s assert (rc.ImageSize, [5, 3]); 382s assert (rc.XWorldLimits, [10, 20]); 382s assert (rc.YWorldLimits, [30, 40]); 382s assert (rc.PixelExtentInWorldX, 3.33333333, 10e-9); 382s assert (rc.PixelExtentInWorldY, 2); 382s assert (rc.ImageExtentInWorldX, 10); 382s assert (rc.ImageExtentInWorldY, 10); 382s assert (rc.XIntrinsicLimits, [0.5, 3.5]); 382s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 382s assert (c, expected); 382s !!!!! known failure 382s ASSERT errors for: assert (c,expected) 382s 382s Location | Observed | Expected | Reason 382s (1,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (2,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (3,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (4,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (5,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (1,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (2,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (3,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (4,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (5,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 382s (1,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (2,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (3,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (4,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (5,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (1,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (2,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (3,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (4,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s (5,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 382s ***** test 382s a = zeros (5, 5); 382s b = ones (5, 5); 382s ra = imref2d (size (a), [10, 20], [30, 40]); 382s rb = imref2d (size (b), [10, 20], [30, 40]); 382s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 382s expected = uint8 (zeros (5, 5, 3)); 382s assert (rc.ImageSize, [5, 5]); 382s assert (rc.XWorldLimits, [10, 20]); 382s assert (rc.YWorldLimits, [30, 40]); 382s assert (rc.PixelExtentInWorldX, 2); 382s assert (rc.PixelExtentInWorldY, 2); 382s assert (rc.ImageExtentInWorldX, 10); 382s assert (rc.ImageExtentInWorldY, 10); 382s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 382s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 382s assert (c, expected); 382s ***** test 382s a = magic (5); 382s b = ones (5, 5); 382s ra = imref2d (size (a), [10, 20], [30, 40]); 382s rb = imref2d (size (b), [10, 20], [30, 40]); 382s [c, rc] = imfuse (a, ra, b, rb, "falsecolor", "Scaling", "independent"); 382s expected = uint8 (zeros (5, 5, 3)); 382s expected(:, :, 2) = [ 382s 170 244 0 74 149 382s 234 43 64 138 159 382s 32 53 128 202 223 382s 96 117 191 213 21 382s 106 181 255 11 85]; 382s assert (rc.ImageSize, [5, 5]); 382s assert (rc.XWorldLimits, [10, 20]); 382s assert (rc.YWorldLimits, [30, 40]); 382s assert (rc.PixelExtentInWorldX, 2); 382s assert (rc.PixelExtentInWorldY, 2); 382s assert (rc.ImageExtentInWorldX, 10); 382s assert (rc.ImageExtentInWorldY, 10); 382s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 382s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 382s assert (c, expected); 382s 53 tests, 51 passed, 2 known failures, 0 skipped 382s [inst/ordfilt2.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/ordfilt2.m 382s ***** test 382s order = 3; 382s domain = ones (3); 382s A = zeros (3,3); 382s B = ones (3,3); 382s C = [1 1 1; 2 2 2; 3 3 3]; 382s D = C'; 382s E = ones (3,3); 382s E(2,2) = 2; 382s F = 3 .* ones (3,3); 382s F(2,2) = 1; 382s G = [-1 2 7; -5 2 8; -7 pi 9]; 382s H = [5 2 8; 1 -3 1; 5 1 0]; 382s A_out = [0 0 0; 0 0 0; 0 0 0]; 382s B_out = [0 0 0; 0 1 0; 0 0 0]; 382s C_out = [0 0 0; 0 1 0; 0 0 0]; 382s D_out = [0 0 0; 0 1 0; 0 0 0]; 382s E_out = [0 0 0; 0 1 0; 0 0 0]; 382s F_out = [0 0 0; 0 3 0; 0 0 0]; 382s G_out = [0 0 0; -1 -1 0; 0 0 0]; 382s H_out = [0 0 0; 0 1 0; 0 0 0]; 382s assert (ordfilt2 (A, order, domain), A_out); 382s assert (ordfilt2 (B, order, domain), B_out); 382s assert (ordfilt2 (C, order, domain), C_out); 382s assert (ordfilt2 (D, order, domain), D_out); 382s assert (ordfilt2 (E, order, domain), E_out); 382s assert (ordfilt2 (F, order, domain), F_out); 382s assert (ordfilt2 (G, order, domain), G_out); 382s assert (ordfilt2 (H, order, domain), H_out); 382s 1 test, 1 passed, 0 known failure, 0 skipped 382s [inst/deconvwnr.m] 382s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/deconvwnr.m 382s ***** shared im0, psf0, im0_out, psf1, im2, out2_0, out2_1, im3 382s im0 = ones (5, 5); 382s psf0 = ones (3, 3); 382s im0_out = 0.11111 .* ones (5, 5); 382s psf1 = [1 0 0; 0 1 0; 0 0 1]; 382s im2 = checkerboard (2, 2, 2); 382s out2_0 = [ 382s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 382s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 382s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 382s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 382s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 382s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 382s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 382s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759]; 382s out2_1 = [ 382s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 382s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 382s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 382s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0; 382s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 382s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 382s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 382s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0]; 382s im3 = rot90 (diag (0.5.*ones (1,8)) + diag (ones(1,7), 1)); 382s ***** error deconvwnr () 382s ***** error deconvwnr (ones (5)) 383s ***** assert (deconvwnr (ones (5), ones (3))) 383s ***** assert (deconvwnr (ones (5), ones (3), 0.7)) 383s ***** assert (deconvwnr (ones (5), ones (3), 0.5 .* ones (5))) 383s ***** assert (deconvwnr (ones (5, 5, 5), ones (3))) 383s ***** error deconvwnr (ones (5), ones (3), -0.7) 383s ***** error 383s deconvwnr (ones (5), ones (7)) 383s ***** error 383s deconvwnr (ones (5, 8, 2), ones (6, 5)) 383s ***** assert (deconvwnr (im0, psf0), im0_out, 1e-5) 383s ***** assert (deconvwnr (im0, single (psf0)), im0_out, 1e-5) 383s ***** assert (class (deconvwnr (im0, psf0)), "double") 383s ***** assert (deconvwnr (single (im0), psf0), single (im0_out), 1e-5) 383s ***** assert (class (deconvwnr (single (im0), psf0)), "single") 383s ***** assert (deconvwnr (im2uint8 (im0), psf0), im2uint8 (im0_out)) 383s ***** assert (class (deconvwnr (im2uint8 (im0), psf0)), "uint8") 383s ***** assert (deconvwnr (im2uint16 (im0), psf0), im2uint16 (im0_out)) 383s ***** assert (class (deconvwnr (im2uint16 (im0), psf0)), "uint16") 383s ***** assert (deconvwnr (im2int16 (im0), psf0), im2int16 (im0_out)) 383s ***** assert (class (deconvwnr (im2int16 (im0), psf0)), "int16") 383s ***** error deconvwnr (true (5), ones (3)) 383s ***** test 383s assert (deconvwnr (im0, psf0, 0.01), im0_out, 1e-4) 383s assert (deconvwnr (im0, psf1, 0.01), 0.333.*ones (5), 1e-4) 383s ***** test 383s im1 = magic (5)./25; 383s out1_0 = [ 383s -0.0820 0.5845 -0.4293 0.2372 -0.0214; 383s 0.6241 -0.5877 0.2768 0.0182 -0.0424; 383s -0.5481 0.3164 0.0578 -0.2009 0.6637; 383s 0.1580 0.0974 -0.1613 0.7033 -0.5085; 383s 0.1370 -0.1217 0.5449 -0.4689 0.1976]; 383s out1_1 = [ 383s -0.2959 -0.1363 0.4038 0.7595 0.1347; 383s -0.0191 0.3269 0.8768 0.0559 -0.3748; 383s 0.2481 0.7979 0.1731 -0.4517 0.0982; 383s 0.7210 0.2904 -0.5305 0.0194 0.3654; 383s 0.2116 -0.4132 -0.0575 0.4826 0.6422]; 383s assert (deconvwnr (im1, psf0, 0.01), out1_0, 1e-4) 383s assert (deconvwnr (im1, psf1, 0.01), out1_1, 1e-4) 383s ***** test 383s assert (deconvwnr (im2, psf0, 0.01), out2_0, 1e-4) 383s assert (deconvwnr (im2, psf1, 0.01), out2_1, 1e-4) 383s ***** test 383s out3_0_x = [ 383s -1.1111 1.0556 -0.4444 -0.1111 0.5556 -0.9444 0.8889 0.0556; 383s 1.0556 -0.7778 0.2222 0.5556 -1.2778 1.2222 0.0556 -0.7778; 383s -0.4444 0.2222 0.2222 -0.9444 1.2222 -0.2778 -0.4444 0.7222; 383s -0.1111 0.5556 -0.9444 0.8889 0.0556 -0.4444 0.3889 -0.4444; 383s 0.5556 -1.2778 1.2222 0.0556 -0.7778 0.7222 -0.4444 0.2222; 383s -0.9444 1.2222 -0.2778 -0.4444 0.7222 -0.7778 0.5556 0.2222; 383s 0.8889 0.0556 -0.4444 0.3889 -0.4444 0.5556 -0.1111 -0.9444; 383s 0.0556 -0.7778 0.7222 -0.4444 0.2222 0.2222 -0.9444 1.2222]; 383s out3_0_01 = [ 383s -0.5064 0.2140 0.1101 -0.0993 0.0297 -0.1942 0.3223 0.0772; 383s 0.2140 -0.0659 0.0375 0.0891 -0.4109 0.4783 0.2202 -0.2860; 383s 0.1101 0.0375 -0.0525 -0.3208 0.5721 0.0034 -0.1743 0.0939; 383s -0.0993 0.0891 -0.3208 0.4624 0.0936 -0.1150 -0.1395 -0.0135; 383s 0.0297 -0.4109 0.5721 0.0936 -0.2566 -0.0027 0.1101 0.1341; 383s -0.1942 0.4783 0.0034 -0.1150 -0.0027 -0.0659 0.2542 -0.0819; 383s 0.3223 0.2202 -0.1743 -0.1395 0.1101 0.2542 -0.3023 -0.3371; 383s 0.0772 -0.2860 0.0939 -0.0135 0.1341 -0.0819 -0.3371 0.6794]; 383s out3_0_00001 = [ 383s -1.1087 1.0520 -0.4419 -0.1112 0.5532 -0.9410 0.8864 0.0557; 383s 1.0520 -0.7746 0.2213 0.5537 -1.2742 1.2190 0.0565 -0.7759; 383s -0.4419 0.2213 0.2211 -0.9418 1.2196 -0.2767 -0.4433 0.7195; 383s -0.1112 0.5537 -0.9418 0.8870 0.0557 -0.4428 0.3864 -0.4425; 383s 0.5532 -1.2742 1.2196 0.0557 -0.7755 0.7188 -0.4419 0.2220; 383s -0.9410 1.2190 -0.2767 -0.4428 0.7188 -0.7746 0.5544 0.2206; 383s 0.8864 0.0565 -0.4433 0.3864 -0.4419 0.5544 -0.1121 -0.9418; 383s 0.0557 -0.7759 0.7195 -0.4425 0.2220 0.2206 -0.9418 1.2201]; 383s out3_0_3 = [ 383s -0.0893 -0.0089 0.0446 -0.0357 -0.0268 0.0268 0.0893 0.0446; 383s -0.0089 0.0223 -0.0089 -0.0357 -0.0089 0.1473 0.1161 0.0179; 383s 0.0446 -0.0089 -0.0357 -0.0089 0.1607 0.0804 -0.0089 -0.0357; 383s -0.0357 -0.0357 -0.0089 0.1652 0.0804 -0.0179 -0.0714 0.0045; 383s -0.0268 -0.0089 0.1607 0.0804 -0.0179 -0.0446 0.0446 -0.0000; 383s 0.0268 0.1473 0.0804 -0.0179 -0.0446 0.0223 0.0268 -0.0000; 383s 0.0893 0.1161 -0.0089 -0.0714 0.0446 0.0268 -0.1071 -0.0446; 383s 0.0446 0.0179 -0.0357 0.0045 0.0000 -0.0000 -0.0446 0.1652]; 383s out3_1_x = [ 383s -0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.3333 0.1667; 383s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 383s -0.6667 -0.3333 0.6667 0.1667 0.3333 0.1667 0.3333 0.1667; 383s -0.3333 0.3333 0.1667 -0.3333 0.1667 0.3333 0.1667 -0.6667; 383s 0.3333 0.1667 0.3333 0.1667 0.6667 0.1667 -0.6667 -0.3333; 383s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 383s 0.3333 0.1667 0.3333 0.1667 -0.6667 -0.3333 -0.3333 0.1667; 383s 0.1667 0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.6667]; 383s out3_1_01 = [ 383s -0.1868 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.3097 0.1548; 383s 0.1548 -0.2997 -0.2997 0.3097 0.1548 0.3097 0.1548 0.3097; 383s -0.5994 -0.2997 0.4965 0.1548 0.3097 0.1548 0.3097 0.1548; 383s -0.2997 0.3097 0.1548 -0.1247 0.1548 0.3097 0.1548 -0.5994; 383s 0.3097 0.1548 0.3097 0.1548 0.4965 0.1548 -0.5994 -0.2997; 383s 0.1548 0.3097 0.1548 0.3097 0.1548 -0.2997 -0.2997 0.3097; 383s 0.3097 0.1548 0.3097 0.1548 -0.5994 -0.2997 -0.1868 0.1548; 383s 0.1548 0.3097 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.4343]; 383s out3_1_00001 = [ 383s -0.3331 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.3333 0.1667; 383s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 383s -0.6666 -0.3333 0.6664 0.1667 0.3333 0.1667 0.3333 0.1667; 383s -0.3333 0.3333 0.1667 -0.3330 0.1667 0.3333 0.1667 -0.6666; 383s 0.3333 0.1667 0.3333 0.1667 0.6664 0.1667 -0.6666 -0.3333; 383s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 383s 0.3333 0.1667 0.3333 0.1667 -0.6666 -0.3333 -0.3331 0.1667; 383s 0.1667 0.3333 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.6663]; 383s out3_1_3 = [ 383s -0.0089 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.1250 0.0625; 383s 0.0625 -0.0625 -0.0625 0.1250 0.0625 0.1250 0.0625 0.1250; 383s -0.1250 -0.0625 0.1339 0.0625 0.1250 0.0625 0.1250 0.0625; 383s -0.0625 0.1250 0.0625 0.0982 0.0625 0.1250 0.0625 -0.1250; 383s 0.1250 0.0625 0.1250 0.0625 0.1339 0.0625 -0.1250 -0.0625; 383s 0.0625 0.1250 0.0625 0.1250 0.0625 -0.0625 -0.0625 0.1250; 383s 0.1250 0.0625 0.1250 0.0625 -0.1250 -0.0625 -0.0089 0.0625; 383s 0.0625 0.1250 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.0268]; 383s assert (deconvwnr (im3, psf0), out3_0_x, 1e-4) 383s assert (deconvwnr (im3, psf0, 0.1), out3_0_01, 1e-4) 383s assert (deconvwnr (im3, psf0, 0.0001), out3_0_00001, 1e-4) 383s assert (deconvwnr (im3, psf0, 3), out3_0_3, 1e-4) 383s assert (deconvwnr (im3, psf1), out3_1_x, 1e-4) 383s assert (deconvwnr (im3, psf1, 0.1), out3_1_01, 1e-4) 383s assert (deconvwnr (im3, psf1, 0.0001), out3_1_00001, 1e-4) 383s assert (deconvwnr (im3, psf1, 3), out3_1_3, 1e-4) 383s ***** test 383s im_rgb = cat (3, im2, im3, magic (8)./64); 383s out_rgb_0(:, :, 1) = out2_0; 383s out_rgb_0(:, :, 2) = [ 383s -0.9255 0.7869 -0.2553 -0.1154 0.3801 -0.6906 0.7000 0.0651; 383s 0.7869 -0.5407 0.1534 0.4141 -1.0064 0.9816 0.1222 -0.6335; 383s -0.2553 0.1534 0.1343 -0.7453 1.0211 -0.1936 -0.3586 0.5209; 383s -0.1154 0.4141 -0.7453 0.7468 0.0675 -0.3247 0.2023 -0.2996; 383s 0.3801 -1.0064 1.0211 0.0675 -0.6045 0.4711 -0.2553 0.2032; 383s -0.6906 0.9816 -0.1936 -0.3247 0.4711 -0.5407 0.4692 0.1052; 383s 0.7000 0.1222 -0.3586 0.2023 -0.2553 0.4692 -0.1868 -0.7477; 383s 0.0651 -0.6335 0.5209 -0.2996 0.2032 0.1052 -0.7477 1.0630]; 383s out_rgb_0(:, :, 3) = [ 383s -0.8118 0.8805 0.8341 -0.7963 -0.6343 0.8222 0.7757 -0.6188; 383s 0.5720 -0.4151 -0.3687 0.5565 0.3945 -0.3567 -0.3103 0.3791; 383s 0.2007 -0.0438 0.0026 0.1852 0.0232 0.0146 0.0610 0.0078; 383s -0.6880 0.7568 0.7104 -0.6725 -0.5105 0.6984 0.6520 -0.4951; 383s 0.6079 -0.5392 -0.5856 0.6234 0.7854 -0.5975 -0.6439 0.8008; 383s 0.1051 0.0519 0.0983 0.0896 -0.0724 0.1102 0.1566 -0.0879; 383s -0.2662 0.4231 0.4696 -0.2817 -0.4437 0.4815 0.5279 -0.4592; 383s 0.7317 -0.6629 -0.7093 0.7471 0.9091 -0.7213 -0.7677 0.9246]; 383s out_rgb_1(:, :, 1) = out2_1; 383s out_rgb_1(:, :, 2) = [ 383s -0.3110 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.3308 0.1654; 383s 0.1654 -0.3297 -0.3297 0.3308 0.1654 0.3308 0.1654 0.3308; 383s -0.6593 -0.3297 0.6418 0.1654 0.3308 0.1654 0.3308 0.1654; 383s -0.3297 0.3308 0.1654 -0.3016 0.1654 0.3308 0.1654 -0.6593; 383s 0.3308 0.1654 0.3308 0.1654 0.6418 0.1654 -0.6593 -0.3297; 383s 0.1654 0.3308 0.1654 0.3308 0.1654 -0.3297 -0.3297 0.3308; 383s 0.3308 0.1654 0.3308 0.1654 -0.6593 -0.3297 -0.3110 0.1654; 383s 0.1654 0.3308 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.6323]; 383s out_rgb_1(:, :, 3) = [ 383s -0.0240 0.3338 0.3335 0.0329 0.0344 0.1564 0.3942 0.0913; 383s 0.7871 0.6512 -0.5394 -0.2225 0.7287 0.5905 -0.3619 -0.2809; 383s 0.1333 -0.7196 0.2335 1.0291 0.0749 -0.5421 0.1728 0.9708; 383s -0.2201 0.4109 0.6487 -0.1632 -0.1617 0.4716 0.4713 -0.1048; 383s 0.4430 -0.1331 -0.1334 0.4999 0.5014 -0.3106 -0.0727 0.5582; 383s -0.6326 0.1654 0.8803 0.2633 -0.6910 0.1047 1.0577 0.2049; 383s 0.6191 0.7001 -0.2523 -0.3905 0.5607 0.8776 -0.3130 -0.4489; 383s 0.2469 -0.0561 0.1818 0.3038 0.3052 0.0047 0.0043 0.3621]; 383s assert (deconvwnr (im_rgb, psf0, 0.01), out_rgb_0, 1e-4) 383s assert (deconvwnr (im_rgb, psf1, 0.01), out_rgb_1, 1e-4) 383s ***** test 383s ## Test that psf and nsr can be of class single, but are usually 383s ## internally as doubles. Matlab requires everything all to be 383s ## double so this is Matlab incompatible behaviour by design. 383s nsr = 0.1; 383s psf1_recast = double (single (psf1)); 383s nsr_recast = double (single (0.1)); 383s deconvolved = deconvwnr (im2, psf1_recast, nsr_recast); 383s assert (deconvwnr (im2, single (psf1), single (nsr)), deconvolved) 383s assert (deconvwnr (im2, single (psf1), nsr_recast), deconvolved) 383s assert (deconvwnr (im2, psf1_recast, single (nsr)), deconvolved) 383s ***** demo 383s I = phantom (); 383s figure, imshow (I); 383s title ("Original image"); 383s psf = fspecial ("motion", 30, 15); 383s blurred = imfilter (I, psf, "conv"); 383s figure, imshow (blurred); 383s title ("Image with added motion blur"); 383s var_noise = 0.00005; 383s blurred_noisy = imnoise (blurred, "gaussian", 0, var_noise); 383s figure, imshow (blurred_noisy); 383s title ("Image with motion blur and added Gaussian noise"); 383s estimated_nsr = var_noise / (var(blurred_noisy(:)) - var_noise); 383s J = deconvwnr (blurred_noisy, psf, estimated_nsr); 383s figure, imshow (J) 383s title ({"restored image after Wiener deconvolution", 383s "with known PSF and estimated NSR"}); 383s 27 tests, 27 passed, 0 known failure, 0 skipped 383s [inst/imquantize.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imquantize.m 383s ***** error 383s imquantize (rand (5), [3 4 2 5]) 383s ***** error 383s imquantize (rand (5), [1 2 3], "foo") 383s ***** error 383s imquantize (rand (5), [1 2 3 4], 1:6) 383s ***** error 383s imquantize (rand (5), [1 2 3 4], 1:2) 383s ***** test 383s img = [-inf 0 10000000; -100000 -3 1/1000000; 5 5 10]; 383s [q, q_idx] = imquantize (img, 5); 383s assert (q, [1 1 2; 1 1 1; 1 1 2]) 383s assert (q_idx, q) 383s ***** test 383s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70]; 383s 383s expected_q = [ 383s 0 0 0 0 0 1 1 1 1 1 383s 1 1 1 1 1 5 5 5 5 5 383s 5 5 5 5 5 10 10 10 10 10 383s 20 20 20 20 20 20 20 20 20 20 383s 30 30 30 30 30 30 30 30 30 30 383s 30 30 30 30 30 30 30 30 30 30 383s 15 15 15 15 15 15 15 15 15 15]; 383s 383s expected_q_idx = [ 383s 1 1 1 1 1 2 2 2 2 2 383s 2 2 2 2 2 3 3 3 3 3 383s 3 3 3 3 3 4 4 4 4 4 383s 5 5 5 5 5 5 5 5 5 5 383s 6 6 6 6 6 6 6 6 6 6 383s 6 6 6 6 6 6 6 6 6 6 383s 7 7 7 7 7 7 7 7 7 7]; 383s 383s [q, q_idx] = imquantize (img, [5 15 25 30 40 60], [0 1 5 10 20 30 15]); 383s assert (q, expected_q) 383s assert (q_idx, expected_q_idx) 383s 383s [q, q_idx] = imquantize (single (img), [5 15 25 30 40 60], 383s [0 1 5 10 20 30 15]); 383s assert (q, expected_q) 383s assert (q_idx, expected_q_idx) 383s 383s [q, q_idx] = imquantize (uint8 (img), [5 15 25 30 40 60], 383s [0 1 5 10 20 30 15]); 383s assert (q, expected_q) 383s assert (q_idx, expected_q_idx) 383s 383s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 383s [0 1 5 10 20 30 15]); 383s assert (q, expected_q) 383s assert (q_idx, expected_q_idx) 383s 383s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 383s uint8 ([0 1 5 10 20 30 15])); 383s assert (q, uint8 (expected_q)) 383s assert (q_idx, expected_q_idx) 383s ***** test 383s img = randi ([0 255], 10, "uint8"); 383s [q, q_idx] = imquantize (img, [50 100 150 200]); 383s assert (class (q), "double") 383s assert (class (q_idx), "double") 383s 383s [q, q_idx] = imquantize (img, [50 100 150 200], uint16 ([5 7 8 9 2])); 383s assert (class (q), "uint16") 383s assert (class (q_idx), "double") 383s 383s [q, q_idx] = imquantize (img, [50 100 150 200], uint8 ([5 7 8 9 2])); 383s assert (class (q), "uint8") 383s assert (class (q_idx), "double") 383s ***** test 383s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70].'; 383s r_idx = reshape (randperm (numel (img)), size (img)); 383s 383s [quant, quant_idx] = imquantize (img, [5 15 25 30 40 60]); 383s [quant_r, quant_r_idx] = imquantize (img(r_idx), [5 15 25 30 40 60]); 383s 383s assert (imquantize (img(r_idx), [5 15 25 30 40 60]), quant(r_idx)) 383s assert (quant_r, quant_r_idx) 383s 8 tests, 8 passed, 0 known failure, 0 skipped 383s [inst/imhmax.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imhmax.m 383s ***** shared im0, im0_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 im0_h2_out = uint8 ([0 0 0 0 0; 383s 0 1 2 1 0; 383s 0 2 3 2 0; 383s 0 1 2 1 0; 383s 0 0 0 0 0]); 383s ***** error imhmax () 383s ***** error imhmax (im0) 383s ***** error imhmax ("hello", 2) 383s ***** error imhmax (i.*im0, 2) 383s ***** error imhmax (sparse (im0), 2) 383s ***** error imhmax (im0, -2) 383s ***** error imhmax (im0, 'a') 383s ***** error imhmax (im0, ones (2)) 383s ***** error imhmax (im0, 2*i) 383s ***** assert (imhmax (im0, 2), im0_h2_out) 383s ***** assert (imhmax (double (im0), 2), double (im0_h2_out)) 383s ***** assert (imhmax (im0, 2, 8), im0_h2_out) 383s ***** assert (imhmax (im0, 2, 4), im0_h2_out) 383s ***** assert (imhmax (im0, 2, true (3)), im0_h2_out) 383s ***** test 383s out = imhmax (double (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "double") 383s ***** test 383s out = imhmax (single (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "single") 383s ***** test 383s out = imhmax (uint8 (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "uint8") 383s ***** test 383s out = imhmax (uint16 (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "uint16") 383s ***** test 383s im = cat (3, im0, im0, im0, im0); 383s out = imhmax (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 = zeros (10); 383s expected_4(6:8, 6:8) = 4; 383s expected_2 = zeros (10); 383s expected_2(2:4, 2:4) = 1; 383s expected_2(6:8, 6:8) = 6; 383s out = imhmax (im, 4); 383s assert (out, expected_4, eps) 383s out = imhmax (im, 2); 383s assert (out, expected_2, eps) 383s out = imhmax (0.1 .* im, 0.4); 383s assert (out, 0.1 .* expected_4, 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_4 = zeros (10); 383s expected_4(6:9, 6:9) = 4; 383s expected_4(5, 5) = 4; 383s expected_4(6, 7) = 0; 383s expected_4(7, 8) = 0; 383s expected_8 = expected_4; 383s expected_8(2:4, 2:4) = 3; 383s out2 = imhmax (im2, 4); 383s assert (out2, expected_8, eps) 383s out2 = imhmax (im2, 4, 4); 383s assert (out2, expected_4, eps) 383s out2 = imhmax (im2, 4, 8); 383s assert (out2, expected_8, eps) 383s 21 tests, 21 passed, 0 known failure, 0 skipped 383s [inst/imtophat.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imtophat.m 383s ***** assert (imtophat (ones (3), [1 1; 0 1]), zeros (3)); 383s ***** assert (imtophat (true (3), [1 1; 0 1]), false (3)); 383s ***** shared in, out, se 383s in = [ 0 0 0 1 1 1 0 0 1 1 383s 0 1 0 1 1 1 0 0 0 1 383s 1 1 1 1 1 0 0 0 0 0 383s 0 1 1 1 1 0 0 0 0 0 383s 0 0 0 1 0 0 0 0 1 0 383s 0 0 0 0 0 0 0 1 1 1 383s 0 0 0 0 1 0 1 0 1 0 383s 0 0 0 1 1 1 1 1 0 0 383s 0 0 0 0 1 1 1 0 0 0 383s 0 0 0 1 1 1 0 0 0 0]; 383s 383s out = [ 0 0 0 0 0 0 0 0 1 1 383s 0 1 0 0 0 0 0 0 0 1 383s 1 1 1 1 1 0 0 0 0 0 383s 0 1 1 1 1 0 0 0 0 0 383s 0 0 0 1 0 0 0 0 1 0 383s 0 0 0 0 0 0 0 1 1 1 383s 0 0 0 0 1 0 1 0 1 0 383s 0 0 0 1 1 1 1 1 0 0 383s 0 0 0 0 1 1 1 0 0 0 383s 0 0 0 1 1 1 0 0 0 0]; 383s ***** assert (imtophat (logical (in), ones (3)), logical (out)); 383s 383s out = [12 19 0 0 0 16 23 0 7 0 383s 18 0 0 6 1 19 0 2 9 1 383s 0 74 81 12 7 0 1 8 15 7 383s 68 70 2 14 0 6 7 14 16 0 383s 69 76 8 0 0 7 14 21 0 1 383s 0 7 59 54 61 13 20 0 0 32 383s 18 0 69 60 62 19 0 0 0 27 383s 73 0 0 66 68 0 1 6 6 33 383s 0 0 17 19 1 0 2 9 7 14 383s 1 6 23 0 7 1 8 15 0 32]; 383s ***** assert (imtophat (magic (10), ones (3)), out); 383s ***** assert (imtophat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 383s 383s ## using a se that will be decomposed in 2 pieces 383s out =[91 98 0 0 0 27 34 11 18 0 383s 94 76 3 6 1 33 15 17 24 1 383s 0 77 84 12 7 14 16 23 30 7 383s 80 82 14 18 0 32 34 41 43 0 383s 81 88 20 0 0 33 40 47 24 6 383s 12 19 63 57 64 16 23 0 7 39 383s 18 0 69 60 62 19 1 3 12 39 383s 73 0 0 66 68 0 2 9 18 45 383s 4 6 81 67 49 6 8 15 19 26 383s 5 12 87 48 55 7 14 21 0 32]; 383s ***** assert (imtophat (magic (10), ones(5)), out); 383s 383s ## using a weird non-symmetric and even-size se 383s out =[85 92 0 0 0 12 23 0 17 0 383s 91 73 0 6 0 18 0 2 13 0 383s 0 72 81 13 6 0 1 9 15 0 383s 60 62 10 12 0 8 8 17 17 0 383s 61 69 0 0 0 28 16 41 0 0 383s 0 0 47 52 61 12 16 0 0 31 383s 6 0 53 58 60 17 0 0 0 33 383s 69 0 0 60 62 0 0 6 0 33 383s 0 0 17 60 42 0 2 13 1 8 383s 0 6 23 0 7 0 7 15 0 14]; 383s ***** assert (imtophat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 383s 383s ## N dimensional and weird se 383s in = reshape (magic(16), [4 8 4 2]); 383s se = ones (3, 3, 3); 383s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 383s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 383s out = zeros (size (in)); 383s out(:,:,1,1) = [ 383s 239 146 82 18 0 19 83 133 383s 0 35 99 163 219 128 64 0 383s 0 46 128 195 187 123 59 0 383s 157 93 47 0 14 78 142 211]; 383s out(:,:,2,1) = [ 383s 0 21 85 149 233 146 64 0 383s 205 128 64 0 0 41 87 151 383s 171 107 57 0 0 64 121 185 383s 0 64 142 213 169 105 41 0]; 383s out(:,:,3,1) = [ 383s 231 146 78 14 0 27 77 137 383s 0 43 107 167 211 128 64 0 383s 0 46 128 199 179 119 51 0 383s 149 85 39 0 18 78 142 219]; 383s out(:,:,4,1) = [ 383s 0 29 93 157 225 128 64 0 383s 197 128 64 0 0 31 95 159 383s 163 99 53 0 0 61 125 189 383s 0 64 146 221 161 97 33 0]; 383s out(:,:,1,2) = [ 383s 223 146 82 18 0 35 99 149 383s 0 48 115 179 203 128 64 0 383s 0 46 128 211 171 107 43 0 383s 141 77 31 0 14 78 142 227]; 383s out(:,:,2,2) = [ 383s 0 37 101 165 217 146 64 0 383s 189 125 64 0 0 57 103 167 383s 155 91 41 0 0 64 128 201 383s 0 64 142 229 153 89 25 0]; 383s out(:,:,3,2) = [ 383s 215 146 78 14 0 43 93 153 383s 0 48 123 183 195 128 64 0 383s 0 46 128 215 163 103 35 0 383s 133 69 23 0 18 78 142 235]; 383s out(:,:,4,2) = [ 383s 0 45 109 173 209 128 64 0 383s 181 117 64 0 0 47 111 175 383s 147 83 37 0 0 64 128 205 383s 0 64 146 237 145 81 17 0]; 383s ***** assert (imtophat (in, se), out); 383s 8 tests, 8 passed, 0 known failure, 0 skipped 383s [inst/rangefilt.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/rangefilt.m 383s ***** test 383s im = rangefilt (ones (5)); 383s assert (im, zeros (5)); 383s ***** test 383s A = zeros (3,3); 383s B = ones (3,3); 383s C = [1 1 1; 2 2 2; 3 3 3]; 383s D = C'; 383s E = ones (3,3); 383s E(2,2) = 2; 383s F = 3 .* ones (3,3); 383s F(2,2) = 1; 383s G = [-1 2 7; -5 2 8; -7 pi 9]; 383s H = [5 2 8; 1 -3 1; 5 1 0]; 383s A_out = [0 0 0; 0 0 0; 0 0 0]; 383s B_out = [0 0 0; 0 0 0; 0 0 0]; 383s C_out = [1 1 1; 2 2 2; 1 1 1]; 383s D_out = [1 2 1; 1 2 1; 1 2 1]; 383s E_out = [1 1 1; 1 1 1; 1 1 1]; 383s F_out = [2 2 2; 2 2 2; 2 2 2]; 383s G_out = [7 13 6; 7+pi 16 7; 7+pi 16 7]; 383s H_out = [8 11 11; 8 11 11; 8 8 4]; 383s assert (rangefilt (A), A_out) 383s assert (rangefilt (B), B_out) 383s assert (rangefilt (C), C_out) 383s assert (rangefilt (D), D_out) 383s assert (rangefilt (E), E_out) 383s assert (rangefilt (F), F_out) 383s assert (rangefilt (G), G_out, eps) 383s assert (rangefilt (H), H_out) 383s 2 tests, 2 passed, 0 known failure, 0 skipped 383s [inst/bweuler.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/bweuler.m 383s ***** demo 383s A=zeros(9,10); 383s A([2,5,8],2:9)=1; 383s A(2:8,[2,9])=1 383s bweuler(A) 383s # Euler number (objects minus holes) is 1-2=-1 in an 8-like object 383s ***** test 383s A=zeros(10,10); 383s A(2:9,3:8)=1; 383s A(4,4)=0; 383s A(8,8)=0; # not a hole 383s A(6,6)=0; 383s assert(bweuler(A),-1); 383s ***** test 383s A=zeros(10,10); 383s A(2:4,2:4)=1; 383s A(5:8,5:8)=1; 383s assert(bweuler(A,4),2); 383s assert(bweuler(A,8),1); 383s assert(bweuler(A),1); 383s ***** error <2 dimensions> bweuler (true (5, 5, 1, 5)) 383s 3 tests, 3 passed, 0 known failure, 0 skipped 383s [inst/integralImage.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/integralImage.m 383s ***** test 383s assert (integralImage (10), [0 0; 0 10]); 383s assert (integralImage (10, "rotated"), [0 0 0; 0 10 0]); 383s ***** test 383s J = integralImage (10); 383s assert (class(J), "double"); 383s J = integralImage (uint8(10)); 383s assert (class(J), "double"); 383s ***** test 383s I = [1, 2; 3, 4]; 383s J = integralImage (I); 383s J1 = [0 0 0; 0 1 3; 0 4 10]; 383s assert (J, J1) 383s J = integralImage (I, "rotated"); 383s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 383s assert (J, J1) 383s ***** test 383s I1 = [1, 2; 3, 4]; 383s I2 = [5, 6; 7, 8]; 383s I3 = [9, 10; 11, 12]; 383s I = cat (3, I1, I2, I3); 383s J = integralImage (I); 383s J1 = [0 0 0; 0 1 3; 0 4 10]; 383s J2 = [0 0 0; 0 5 11; 0 12 26]; 383s J3 = [0 0 0; 0 9 19; 0 20 42]; 383s J0 = cat (3, J1, J2, J3); 383s assert (J, J0) 383s ***** test 383s I1 = [1, 2; 3, 4]; 383s I2 = [5, 6; 7, 8]; 383s I3 = [9, 10; 11, 12]; 383s I = cat (3, I1, I2, I3); 383s J = integralImage (I, "rotated"); 383s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 383s J2 = [0 0 0 0; 0 5 6 0; 5 18 19 6]; 383s J3 = [0 0 0 0; 0 9 10 0; 9 30 31 10]; 383s J0 = cat (3, J1, J2, J3); 383s assert (J, J0) 383s ***** test 383s I = magic (5); 383s J = integralImage (I); 383s J_res = [0 0 0 0 0 0; 383s 0 17 41 42 50 65; 383s 0 40 69 77 99 130; 383s 0 44 79 100 142 195; 383s 0 54 101 141 204 260; 383s 0 65 130 195 260 325]; 383s assert (J, J_res) 383s 383s J = integralImage (I, "rotated"); 383s J_res_R = [0 0 0 0 0 0 0; 383s 0 17 24 1 8 15 0; 383s 17 64 47 40 38 39 15; 383s 64 74 91 104 105 76 39; 383s 74 105 149 188 183 130 76; 383s 105 170 232 272 236 195 130]; 383s assert (J, J_res_R) 383s ***** error 383s integralImage (); 383s ***** error 383s integralImage (1, "xxx", 2); 383s ***** error 383s integralImage ("abcd"); 383s ***** error 383s integralImage ([1 2; 3 4], "xxx"); 383s 10 tests, 10 passed, 0 known failure, 0 skipped 383s [inst/labelmatrix.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/labelmatrix.m 383s ***** test 383s cc = struct (); 383s cc.Connectivity = 8; 383s cc.ImageSize = [7 7]; 383s cc.NumObjects = 4; 383s cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 383s 383s l = uint8 ([ 383s 1 0 0 3 0 4 0 383s 1 0 0 3 0 4 0 383s 0 0 0 0 0 4 0 383s 0 0 0 0 4 0 0 383s 2 2 0 4 4 0 0 383s 0 2 0 0 0 0 0 383s 2 2 0 0 0 0 0 383s ]); 383s assert (labelmatrix (cc), l) 383s 1 test, 1 passed, 0 known failure, 0 skipped 383s [inst/isrgb.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/isrgb.m 383s ***** assert (isrgb ("this is not a RGB image"), false); 383s ***** assert (isrgb (rand (5, 5)), false); 383s ***** assert (isrgb (rand (5, 5, 1, 5)), false); 383s ***** assert (isrgb (rand (5, 5, 3, 5)), true); 383s ***** assert (isrgb (rand (5, 5, 3)), true); 383s ***** assert (isrgb (ones (5, 5, 3)), true); 383s ***** assert (isrgb (ones (5, 5, 3) + eps), false); 383s ***** assert (isrgb (zeros (5, 5, 3) - eps), false); 383s ***** assert (isrgb (rand (5, 5, 3) > 0.5), false); 383s ***** assert (isrgb (randi ([-100 100], 5, 5, 3, "int16")), true) 383s 10 tests, 10 passed, 0 known failure, 0 skipped 383s [inst/im2uint8.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/im2uint8.m 383s ***** assert (im2uint8 (uint8 ([1 2 3])), uint8 ([1 2 3])); 383s ***** assert (im2uint8 (uint16 ([0 65535])), uint8 ([0 255])); 383s ***** assert (im2uint8 ([0 0.5 1]), uint8 ([0 128 255])); 383s ***** assert (im2uint8 ([1 2]), uint8 ([255 255])); 383s ***** assert (im2uint8 ([-1 0 0.5 1 2]), uint8 ([0 0 128 255 255])); 383s ***** assert (im2uint8 (int16 ([-32768 0 32768])), uint8 ([0 128 255])); 383s ***** assert (im2uint8 ([false true]), uint8 ([0 255])); 383s ***** assert (im2uint8 ([true false]), uint8 ([255 0])); 383s ***** assert (im2uint8 ([1 256], "indexed"), uint8 ([0 255])); 383s ***** assert (im2uint8 ([3 25], "indexed"), uint8 ([2 24])); 383s ***** assert (im2uint8 (uint16 ([3 25]), "indexed"), uint8 ([3 25])); 383s ***** error im2uint8 ([0 1 2], "indexed"); 383s ***** error im2uint8 (int16 ([17 8]), "indexed"); 383s ***** error im2uint8 (int16 ([-7 8]), "indexed"); 383s ***** error im2uint8 ([false true], "indexed"); 383s ***** error im2uint8 (uint16 (256), "indexed"); 383s ***** error im2uint8 (257, "indexed"); 383s ***** assert (im2uint8 ((1:255) ./ 256), uint8 ([1:128 128:254])) 383s ***** assert (im2uint8 ((0:255) ./ 256), uint8 ([0:128 128:254])) 383s 19 tests, 19 passed, 0 known failure, 0 skipped 383s [inst/imresize.m] 383s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imresize.m 383s ***** test 383s 383s in = [116 227 153 69 146 194 59 130 139 106 383s 2 47 137 249 90 75 16 24 158 44 383s 155 68 46 84 166 156 69 204 32 152 383s 71 221 137 230 210 153 192 115 30 118 383s 107 143 108 52 51 73 101 21 175 90 383s 54 158 143 77 26 168 113 229 165 225 383s 9 47 133 135 130 207 236 43 19 73]; 383s assert (imresize (uint8 (in), 1, "nearest"), uint8 (in)) 383s assert (imresize (uint8 (in), 1, "bicubic"), uint8 (in)) 383s 383s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 383s 116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 383s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 383s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 383s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 383s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 383s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 383s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 383s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 383s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 383s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 383s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 383s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73 383s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 383s assert (imresize (uint8 (in), 2, "nearest"), uint8 (out)) 383s assert (imresize (uint8 (in), 2, "neAreST"), uint8 (out)) 383s assert (imresize (uint8 (in), [14 NaN], "nearest"), uint8 (out)) 383s assert (imresize (uint8 (in), [NaN 20], "nearest"), uint8 (out)) 383s 383s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 383s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 383s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 383s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 383s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 383s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 383s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 383s assert (imresize (uint8 (in), [7 20], "nearest"), uint8 (out)) 383s 383s out = [116 227 153 69 146 194 59 130 139 106 383s 116 227 153 69 146 194 59 130 139 106 383s 2 47 137 249 90 75 16 24 158 44 383s 2 47 137 249 90 75 16 24 158 44 383s 155 68 46 84 166 156 69 204 32 152 383s 155 68 46 84 166 156 69 204 32 152 383s 71 221 137 230 210 153 192 115 30 118 383s 71 221 137 230 210 153 192 115 30 118 383s 107 143 108 52 51 73 101 21 175 90 383s 107 143 108 52 51 73 101 21 175 90 383s 54 158 143 77 26 168 113 229 165 225 383s 54 158 143 77 26 168 113 229 165 225 383s 9 47 133 135 130 207 236 43 19 73 383s 9 47 133 135 130 207 236 43 19 73]; 383s assert (imresize (uint8 (in), [14 10], "nearest"), uint8 (out)) 383s 383s assert (imresize (uint8 (in), 1.5, "box"), imresize (uint8 (in), 1.5, "MeTHoD", "nearest")) 383s assert (imresize (uint8 (in), "Scale", 1.5, "Method", "box"), imresize (uint8 (in), 1.5, {@(h) -0.5 < h & h <= 0.5, 1})) 383s assert (imresize (uint8 (in), 1.5, "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 383s assert (imresize (uint8 (in), [NaN, size(in,2)*1.5], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 383s assert (imresize (uint8 (in), [size(in,1)*1.5, NaN], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 383s assert (imresize (uint8 (in), "outputsize", [size(in,1)*1.5, NaN], "method", "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 383s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "LIneAR")) 383s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "triangle")) 383s ***** test 383s in = [116 227 153 69 146 194 59 130 139 106 383s 2 47 137 249 90 75 16 24 158 44 383s 155 68 46 84 166 156 69 204 32 152 383s 71 221 137 230 210 153 192 115 30 118 383s 107 143 108 52 51 73 101 21 175 90 383s 54 158 143 77 26 168 113 229 165 225 383s 9 47 133 135 130 207 236 43 19 73 383s 129 60 59 243 64 181 249 56 32 86]; 383s 383s out = imresize (in, 0.5, "nearest", "Antialiasing", false); 383s for x = 1:columns (out) 383s for y = 1:rows (out) 383s x_in = 2 * (x-1) + 1; 383s y_in = 2 * (y-1) + 1; 383s sub = in(y_in:y_in+1, x_in:x_in+1); 383s assert (any (any (sub == out(y, x)))) 383s endfor 383s endfor 383s 383s out = imresize (in, 0.5, "nearest", "Antialiasing", true); 383s for x = 1:columns (out) 383s for y = 1:rows (out) 383s x_in = 2 * (x-1) + 1; 383s y_in = 2 * (y-1) + 1; 383s val = mean (mean (in(y_in:y_in+1, x_in:x_in+1))); 383s assert (val, out(y, x)) 383s endfor 383s endfor 383s 383s out = imresize (in, "Scale", [0.5, 2], "Method", "nearest", "Antialiasing", true); 383s for x = 1:columns (out) 383s for y = 1:rows (out) 383s x_in = floor (0.5 * (x-1) + 1); 383s y_in = 2 * (y-1) + 1; 383s val = mean (in(y_in:y_in+1, x_in)); 383s assert (val, out(y, x)) 383s endfor 383s endfor 383s 383s out = imresize (in, "Scale", [2, 0.5], "Method", "nearest", "Antialiasing", true); 383s for x = 1:columns (out) 383s for y = 1:rows (out) 383s x_in = 2 * (x-1) + 1; 383s y_in = floor (0.5 * (y-1) + 1); 383s val = mean (in(y_in, x_in:x_in+1)); 383s assert (val, out(y, x)) 383s endfor 383s endfor 384s ***** test 384s 384s assert (imresize (repmat (5, [3 3]), 2), repmat (5, [6 6]), eps*100) 384s 384s assert (imresize (repmat (5, [3 3 2]), 2), repmat (5, [6 6 2]), eps*100) 384s ***** test 384s 384s for channels = 1:3 384s in = rand (5, 4, channels); 384s for method = {"nearest", "bilinear", "bicubic"} 384s out = imresize (in, 2, method{1}); 384s for i = 1:size (in, 3) 384s assert (out(:, :, i), imresize (in(:, :, i), 2, method{1})) 384s endfor 384s endfor 384s endfor 384s ***** test 384s 384s for channels = 1:3 384s in = rand (5, 4, channels); 384s out = imresize (in, [1, columns(in)], "nearest", "Antialiasing", true); 384s for i = 1:columns (in) 384s assert (out(1, i, :), mean (in(:, i, :), 1), 10*eps) 384s endfor 384s endfor 384s ***** test 384s 384s for channels = 1:3 384s in = rand (5, 4, channels); 384s out = imresize (in, [rows(in), 1], "nearest", "Antialiasing", true); 384s for i = 1:rows (in) 384s assert (out(i, 1, :), mean (in(i, :, :), 2), 10*eps) 384s endfor 384s endfor 384s ***** test 384s 384s for channels = 1:3 384s in = rand (5, 4, channels); 384s out = imresize (in, [1, 1], "nearest", "Antialiasing", true); 384s assert (out(1, 1, :), mean (mean (in(:, :, :))), 10*eps) 384s endfor 384s ***** test 384s 384s in = [116 227 153 69 146 194 59 130 139 106 384s 2 47 137 249 90 75 16 24 158 44 384s 155 68 46 84 166 156 69 204 32 152 384s 71 221 137 230 210 153 192 115 30 118 384s 107 143 108 52 51 73 101 21 175 90 384s 54 158 143 77 26 168 113 229 165 225 384s 9 47 133 135 130 207 236 43 19 73 384s 129 60 59 243 64 181 249 56 32 86]; 384s 384s out = [115 208 134 100 163 117 101 136 109 103 384s 26 61 149 182 95 53 41 116 73 60 384s 133 101 82 140 167 125 152 71 126 144 384s 88 184 137 164 142 145 110 81 104 108 384s 86 146 109 55 73 110 111 156 153 150 384s 33 104 131 100 130 184 147 97 133 142 384s 84 59 114 164 133 219 120 33 72 81 384s 126 60 104 181 116 218 125 38 77 86]; 384s assert (imresize (uint8 (in), 0.91, "bilinear", "Antialiasing", false), uint8 (out), 1) 384s 384s out = [116 172 215 165 111 82 133 170 171 81 95 132 138 123 106 384s 59 98 138 144 152 152 125 127 119 54 58 89 137 112 75 384s 27 39 62 110 172 202 123 96 78 36 40 68 123 100 62 384s 129 97 64 62 87 119 146 148 128 74 117 154 73 94 134 384s 113 129 136 101 125 162 183 172 151 135 146 139 53 83 135 384s 77 143 195 145 166 197 186 162 146 171 138 92 62 84 113 384s 101 129 149 120 98 81 78 82 91 111 77 56 132 123 95 384s 81 116 147 130 96 61 43 80 119 109 116 132 162 164 158 384s 46 93 139 141 114 80 50 109 168 141 166 189 151 171 200 384s 16 41 77 123 130 123 115 157 204 214 145 69 48 71 98 384s 69 62 61 89 143 174 112 146 202 235 147 46 30 53 80 384s 129 95 60 59 151 213 94 123 192 238 153 52 36 59 86]; 384s assert (imresize (uint8 (in), 1.5, "bilinear"), uint8 (out), 1) 384s 384s out = [ 98 152 126 58 112 384s 129 125 172 146 83 384s 116 96 80 116 164 384s 62 143 146 147 53]; 384s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", false), uint8 (out), 1) 384s 384s out = [108 136 125 89 107 384s 111 132 143 114 99 384s 106 110 106 127 136 384s 75 124 154 142 75]; 384s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", true), uint8 (out), 1) 384s 384s out = [116 185 199 143 80 117 164 177 76 103 133 135 110 106 384s 45 89 126 148 177 138 114 109 43 52 97 141 78 67 384s 59 57 73 114 177 145 114 96 45 71 99 108 88 85 384s 145 109 76 63 96 146 166 147 93 152 133 47 134 148 384s 82 157 174 137 201 208 186 156 174 145 90 42 111 122 384s 94 143 152 119 119 114 108 107 131 86 80 119 104 101 384s 87 126 139 114 69 49 67 109 106 102 126 167 145 141 384s 48 108 143 135 91 56 89 167 134 177 184 154 199 206 384s 15 44 88 133 129 121 149 204 219 124 55 44 85 92 384s 84 66 67 102 189 132 127 198 237 123 42 34 74 81 384s 129 86 60 82 220 131 108 190 241 128 47 39 79 86]; 384s assert (imresize (uint8 (in), 4/3, "bilinear"), uint8 (out), 1) 384s 384s lin = @(x) (1 - abs(x)) .* (abs(x) < 1); 384s 384s out = [ 47 90 24 44 384s 143 51 21 90 384s 60 64 56 86]; 384s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", false), uint8 (out), 1) 384s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", false), uint8 (out), 1) 384s 384s out = [115 131 101 102 384s 114 117 120 121 384s 91 147 116 76]; 384s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", true), uint8 (out), 1) 384s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", true), uint8 (out), 1) 384s ***** test 384s in = [116 227 153 69 146 194 59 130 139 106 384s 2 47 137 249 90 75 16 24 158 44 384s 155 68 46 84 166 156 69 204 32 152 384s 71 221 137 230 210 153 192 115 30 118 384s 107 143 108 52 51 73 101 21 175 90 384s 54 158 143 77 26 168 113 229 165 225 384s 9 47 133 135 130 207 236 43 19 73 384s 129 60 59 243 64 181 249 56 32 86]; 384s 384s out = [116 187 237 171 94 61 135 191 187 75 91 142 140 124 108 384s 43 92 143 149 164 163 119 123 118 44 38 80 151 118 62 384s 13 21 47 107 195 228 115 81 70 24 19 56 137 105 48 384s 146 98 49 49 71 107 148 159 132 58 124 176 61 85 146 384s 118 139 144 92 116 168 201 188 159 140 167 158 27 69 153 384s 61 151 218 145 174 219 201 164 146 187 148 84 48 76 115 384s 102 132 151 119 90 72 72 72 83 114 60 31 144 130 80 384s 81 121 154 133 87 41 19 67 116 95 108 140 183 180 163 384s 37 95 152 150 117 73 35 108 179 130 174 214 153 176 219 384s 3 29 73 131 136 120 116 162 214 229 147 54 35 62 96 384s 67 54 51 83 153 187 111 141 210 255 149 22 13 42 74 384s 142 99 53 43 164 237 77 103 197 254 159 42 31 59 91]; 384s assert (imresize (uint8 (in), 1.5, "bicubic"), uint8 (out), 1) 384s 384s out = [ 92 164 123 38 118 384s 139 116 188 167 69 384s 121 87 67 108 180 384s 54 153 141 149 42]; 384s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", false), uint8 (out), 1) 384s 384s out = [105 140 126 81 109 384s 110 134 153 114 93 384s 108 108 94 127 146 384s 67 126 162 149 62]; 384s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", true), uint8 (out), 1) 384s 384s out = [116 203 221 141 62 110 180 191 70 104 143 136 111 106 384s 26 78 126 156 200 139 103 103 33 28 92 158 67 46 384s 51 35 51 112 195 146 101 87 29 57 100 114 81 74 384s 159 110 63 50 82 148 179 152 83 173 147 27 143 170 384s 70 171 189 134 217 226 193 158 186 157 83 25 114 135 384s 91 152 162 116 118 114 102 98 138 65 60 127 92 84 384s 90 130 144 111 52 24 50 101 94 86 129 190 146 135 384s 41 114 157 139 89 37 82 178 125 192 203 154 213 227 384s 4 33 89 141 127 118 151 213 232 119 35 34 81 92 384s 88 61 54 97 203 129 115 203 255 119 18 24 70 81 384s 147 91 43 68 247 125 80 191 255 130 33 37 83 94]; 384s assert (imresize (uint8 (in), 4/3, "bicubic"), uint8 (out), 1) 384s 384s out = [ 47 90 24 44 384s 143 51 21 90 384s 60 64 56 86]; 384s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", false), uint8 (out), 1) 384s 384s out = [115 135 97 101 384s 113 119 124 125 384s 81 157 118 64]; 384s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", true), uint8 (out), 1) 384s ***** test 384s 384s in = checkerboard (1, [2 2]); 384s out = [0.5 0.35 384s 0.5 0.35]; 384s assert ( imresize (in, 0.5, "bilinear", "Antialiasing", false), out) 384s ***** test 384s 384s in = ones (2) + 1i; 384s out_nearest = imresize (in, 1.5, "nearest"); 384s assert (out_nearest, ones (3) + 1i); 384s out_linear = imresize (in, 1.5, "linear"); 384s assert (out_linear, ones (3) + 1i); 384s out_cubic = imresize (in, 1.5, "cubic"); 384s assert (out_cubic, ones (3) + 1i, 1e-14); 384s ***** test 384s 384s in = cat (3, 10, 10, 10); 384s expected = 10 * ones (2, 2, 3); # consistent with MATLAB behaviour 384s 384s out_nearest = imresize (in, [2, 2], "nearest"); 384s assert (out_nearest, expected); 384s out_linear = imresize (in, [2, 2], "linear"); 384s assert (out_linear, expected); 384s out_cubic = imresize (in, [2, 2], "cubic"); 384s assert (out_cubic, expected); 384s ***** test 384s 384s in_row = cat(3, [10,6], [10,6], [10,6]); 384s 384s plane_expected_nearest = [1; 1; 1] * [10, 10, 6, 6]; 384s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 384s out_nearest = imresize (in_row, [3, 4], "nearest"); 384s assert (out_nearest, out_expected); 384s 384s plane_expected_linear = [1; 1; 1] * [10, 8, 6]; 384s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 384s out_linear = imresize (in_row, [3, 3], "linear"); 384s assert (out_linear, out_expected); 384s 384s plane_expected_cubic = [1; 1; 1] * [10.27777777777777, 8, 5.72222222222222]; # values from MATLAB 384s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 384s out_cubic = imresize (in_row, [3, 3], "cubic"); 384s assert (out_cubic, out_expected, 1e-13); 384s 384s in_col = cat(3, [10;6], [10;6], [10;6]); 384s 384s plane_expected_nearest = [10; 10; 6; 6] * [1, 1, 1]; 384s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 384s out_nearest = imresize (in_col, [4, 3], "nearest"); 384s assert (out_nearest, out_expected); 384s 384s plane_expected_linear = [10; 8; 6] * [1, 1, 1]; 384s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 384s out_linear = imresize (in_col, [3, 3], "linear"); 384s assert (out_linear, out_expected); 384s 384s plane_expected_cubic = [10.27777777777777; 8; 5.72222222222222] * [1, 1, 1]; # values from MATLAB 384s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 384s out_cubic = imresize (in_col, [3, 3], "cubic"); 384s assert (out_cubic, out_expected, 1e-13); 384s ***** #test 384s r_big_int16 = randi(16000, 8000, 8000, "int16"); 384s r_big_double = randi(16000, 8000, 8000); 384s tic; imresize (r_big_int16, 100/8000); toc; 384s tic; imresize (r_big_double, 100/8000); toc; 384s 384s r_small_int16 = randi(16000, 100, 100, "int16"); 384s r_small_double = randi(16000, 100, 100); 384s tic; imresize (r_small_int16, 8000/100); toc; 384s tic; imresize (r_small_double, 8000/100); toc; 384s 13 tests, 13 passed, 0 known failure, 0 skipped 384s [inst/imgradientxy.m] 384s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imgradientxy.m 384s ***** test 384s A = [0 1 0 384s 1 1 1 384s 0 1 0]; 384s 384s [gxSobel, gySobel] = imgradientxy (A); 384s [gxSobel2, gySobel2] = imgradientxy (A, "Sobel"); 384s assert (gxSobel, 384s [ 3 0 -3 384s 4 0 -4 384s 3 0 -3]); 384s assert (gySobel, 384s [ 3 4 3 384s 0 0 0 384s -3 -4 -3]); 384s 384s ## test default method 384s assert(gxSobel, gxSobel2); 384s assert(gySobel, gySobel2); 384s 384s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 384s assert (gxPrewitt, 384s [ 2 0 -2 384s 3 0 -3 384s 2 0 -2]); 384s assert (gyPrewitt, 384s [ 2 3 2 384s 0 0 0 384s -2 -3 -2]); 384s 384s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 384s assert (gxCd, 384s [ 0.5 0.0 -0.5 384s 0.5 0.0 -0.5 384s 0.5 0.0 -0.5]); 384s assert (gyCd, 384s [ 0.5 0.5 0.5 384s 0 0 0 384s -0.5 -0.5 -0.5]); 384s 384s [gxCd, gyCd] = imgradientxy (A, "Central"); 384s assert (gxCd, 384s [ 0.5 0.0 -0.5 384s 0.5 0.0 -0.5 384s 0.5 0.0 -0.5]); 384s assert (gyCd, 384s [ 0.5 0.5 0.5 384s 0 0 0 384s -0.5 -0.5 -0.5]); 384s 384s [gxId, gyId] = imgradientxy(A, "IntermediateDifference"); 384s assert (gxId, 384s [ 1 -1 0 384s 0 0 -1 384s 1 -1 0]); 384s assert (gyId, 384s [ 1 0 1 384s -1 0 -1 384s 0 -1 0]); 384s 384s [gxId, gyId] = imgradientxy(A, "Intermediate"); 384s assert (gxId, 384s [ 1 -1 0 384s 0 0 -1 384s 1 -1 0]); 384s assert (gyId, 384s [ 1 0 1 384s -1 0 -1 384s 0 -1 0]); 384s 1 test, 1 passed, 0 known failure, 0 skipped 384s [inst/normxcorr2.m] 384s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/normxcorr2.m 384s ***** function offsets = get_max_offsets (c) 384s l = find (c == max (c(:))); 384s offsets = nthargout (1:ndims (c), @ind2sub, size (c), l); 384s ***** endfunction 384s ***** test 384s row_shift = 18; 384s col_shift = 20; 384s a = randi (255, 30, 30); 384s b = a(row_shift-10:row_shift, col_shift-7:col_shift); 384s c = normxcorr2 (b, a); 384s ## should return exact coordinates 384s assert (get_max_offsets (c), {row_shift col_shift}); 384s 384s ## Even with some small noise, should return exact coordinates 384s b = imnoise (b, "gaussian"); 384s c = normxcorr2 (b, a); 384s assert (get_max_offsets (c), {row_shift col_shift}); 384s ***** xtest 384s a = rand (10, 10); 384s c = normxcorr2 (a(5:7, 6:9), a); 384s assert (c(7, 9), 1, eps*100); 384s ***** test 384s a = 10 * randn (100, 100); 384s auto = normxcorr2 (a, a); 384s add_in = normxcorr2 (a, -a); 384s assert (auto, -add_in); 385s ***** test 385s a = 10 * randn (50, 50); 385s b = 10 * randn (100, 100); 385s do 385s scale = 100 * rand (); 385s until (scale != 0) 385s 385s assert (max ((normxcorr2 (scale*a,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s assert (max ((normxcorr2 (a,scale*b) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s 385s a_shift1 = a + scale * ones (size (a)); 385s b_shift1 = b + scale * ones (size (b)); 385s a_shift2 = a - scale * ones (size (a)); 385s b_shift2 = b - scale * ones (size (b)); 385s assert (max ((normxcorr2 (a_shift1,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s assert (max ((normxcorr2 (a,b_shift1) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s assert (max ((normxcorr2 (a_shift2,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s assert (max ((normxcorr2 (a,b_shift2) - normxcorr2 (a,b))(:)), 0, 1e-10); 385s ***** test 385s a = randi (100, 15, 15, 15); 385s c = normxcorr2 (a(5:10, 2:6, 3:7), a); 385s assert (get_max_offsets (c), {10 6 7}); 385s 385s a = randi (100, 15, 15, 15); 385s c = normxcorr2 (a(5:10, 2:6, 1:1), a); 385s assert (get_max_offsets (c), {10 6 1}); 385s ***** warning normxcorr2 (rand (20), rand (5)); 385s ***** error normxcorr2 (rand (5)); 386s ***** error normxcorr2 (rand (5), rand (20), 2); 386s ***** test 386s a = [ 252 168 50 1 59; 386s 114 0 0 0 0] ./ 255; 386s b = [ 1 171 255 255 255 255 240 71 131 254 255 255 255; 386s 0 109 254 255 255 233 59 0 131 254 255 255 255; 386s 76 13 195 253 194 34 0 19 217 255 255 255 255; 386s 110 0 0 0 0 0 3 181 255 255 255 255 255; 386s 153 0 0 0 0 2 154 254 255 255 255 255 255]./255; 386s c = normxcorr2 (a, b); 386s assert (max (imag (c(:))), 0); 386s ***** test 386s img = [1 1 1 0]; 386s t = [1 1 0]; 386s c = normxcorr2 (t, img); 386s assert (c(3), 0) 386s 10 tests, 10 passed, 0 known failure, 0 skipped 386s [inst/edgetaper.m] 386s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/edgetaper.m 386s ***** assert (class (edgetaper (rand (100), rand (16))), "double") 386s ***** assert (class (edgetaper (randi (255, 100, "uint8"), rand (16))), "uint8") 386s 2 tests, 2 passed, 0 known failure, 0 skipped 386s [inst/imadjust.m] 386s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imadjust.m 386s ***** error imadjust ("bad argument"); 386s ***** error imadjust ([1:100], "bad argument", [], 1); 386s ***** error <2 row column per plane> imadjust ([1:100], [0 1 1], [], 1); 386s ***** error <2 row column per plane> imadjust ([1:100], [], [0 1 1], 1); 386s ***** error imadjust ([1:100], [], [], [0; 1]); 386s ***** error imadjust (rand (5, 5, 3), [], [], [0 1]); 386s ***** error imadjust ([1:100], [0; 1], [], -1); 386s ***** error imadjust ([1:100], [0; 5], []); 386s ***** error imadjust ([1:100], [-2; 1], []); 386s ***** error imadjust ([1:100], [], [0; 4]); 386s ***** error imadjust ([1:100], [], [-2; 1]); 386s ***** error imadjust (rand (5) > .5); 386s ***** test 386s im = [0.01:0.01:1]; 386s assert (imadjust (im), [0 linspace(0, 1, 98) 1], eps) 386s assert (imadjust (im), imadjust (im, stretchlim (im, 0.01), [0; 1], 1)) 386s assert (imadjust (im, []), imadjust (im, [0; 1], [0; 1], 1)) 386s assert (imadjust (im, [], []), imadjust (im, [0; 1], [0; 1], 1)) 386s assert (imadjust (im, [], [.25 .75]), imadjust (im, [0; 1], [.25; .75], 1)) 386s assert (imadjust (im, [.25; .75], []), imadjust (im, [.25; .75], [0; 1], 1)) 386s ***** assert (imadjust (linspace (0, 1), [], [.25 .75]), linspace (.25, .75, 100), eps) 386s ***** assert (imadjust (linspace (0, 1, 100),[1/99; 98/99]), 386s [0 linspace(0, 1, 98) 1], eps) 386s ***** shared cm 386s cm = [[0:8]' [1:9]' [2:10]'] / 10; 386s ***** assert (imadjust (cm, [0; 1], [0.5; 1]), (cm /2) + .5) 386s ***** assert (imadjust (cm, [0 1], [0.5 1]), (cm /2) + .5) 386s ***** assert (imadjust (cm, [0; 1], [.1 .2 .3; .7 .8 .9]), 386s (cm*.6) + [.1 .2 .3], eps) 386s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0; 1]), 386s [[0 0 linspace(0, 1, 6) 1]' ... 386s [0 0 0 linspace(0, 1, 5) 1]' ... 386s [0 0 0 0 linspace(0, 1, 4) 1]'], eps) 386s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1]), 386s [[0 0 linspace(0, .8, 6) .8]' ... 386s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 386s [.2 .2 .2 .2 linspace(.2, 1, 4) 1]'], eps) 386s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1], [0.5 1 2]), 386s [[0 0 0 (((([.3 .4 .5 .6]-.2)/.5).^.5)*.8) .8 .8]' ... 386s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 386s [.2 .2 .2 .2 .2 ((((([.7 .8]-.6)/.3).^2).*.8)+.2) 1 1]'], eps*10) 386s ***** test 386s im = [-0.4:.1:0.8 386s 0.0:.1:1.2 386s 0.1:.1:1.3 386s -0.4:.2:2.0]; 386s 386s ## just clipping 386s assert (imadjust (im, [0; 1], [0; 1]), 386s [0 0 0 0 (0:.1:.8) 386s (0:.1:1) 1 1 386s (.1:.1:1) 1 1 1 386s 0 0 (0:.2:1) 1 1 1 1 1], eps) 386s 386s ## clipping and invert 386s assert (imadjust (im, [0; 1], [1; 0]), 386s [1 1 1 1 (1:-.1:.2) 386s (1:-.1:0) 0 0 386s (.9:-.1:0) 0 0 0 386s 1 1 (1:-.2:0) 0 0 0 0 0], eps) 386s 386s ## rescale 386s assert (imadjust (im, [.2; .7], [.1; .9]), 386s [1 1 1 1 1 1 1 2.6 4.2 5.8 7.4 9 9 386s 1 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 386s 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 9 386s 1 1 1 1 4.2 7.4 9 9 9 9 9 9 9]/10, eps) 386s 386s ## rescale and invert 386s assert (imadjust (im, [.2; .7], [.9; .1]), 386s [9 9 9 9 9 9 9 7.4 5.8 4.2 2.6 1 1 386s 9 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 386s 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 1 386s 9 9 9 9 5.8 2.6 1 1 1 1 1 1 1]/10, eps) 386s ***** assert (imadjust (linspace (0, 1), [], [], 2), linspace (0, 1) .^ 2) 386s ***** shared oRGB 386s oRGB = zeros (10, 1, 3); 386s oRGB(:,:,1) = [0 linspace(0,1,6) 1 1 1]'; 386s oRGB(:,:,2) = [0 0 linspace(0,1,6) 1 1]'; 386s oRGB(:,:,3) = [0 0 0 linspace(0,1,6) 1]'; 386s ***** assert (imadjust (oRGB, [0; 1], [0; 1]), oRGB) 386s ***** assert (imadjust (oRGB, [.2; .8], [0; 1]), 386s reshape ([[0 0 0 1/3 2/3 1 1 1 1 1]' 386s [0 0 0 0 1/3 2/3 1 1 1 1]' 386s [0 0 0 0 0 1/3 2/3 1 1 1]'], [10 1 3]), eps) 386s ***** assert (imadjust (oRGB, [.2; .8], [.1; .9]), 386s reshape ([[.1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9 .9]' 386s [.1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9]' 386s [.1 .1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9]'], 386s [10 1 3]), eps) 386s ***** assert (imadjust (oRGB, [.2; .8], [.2; .8]), 386s reshape ([[2 2 2 4 6 8 8 8 8 8]' 386s [2 2 2 2 4 6 8 8 8 8]' 386s [2 2 2 2 2 4 6 8 8 8]']/10, [10 1 3]), eps) 386s ***** assert (imadjust (oRGB, [0; 1], [.1 .2 .3; .9 .8 .7]), 386s reshape ([[1 1 2.6 4.2 5.8 7.4 9 9 9 9]' 386s [2 2 2 3.2 4.4 5.6 6.8 8 8 8]' 386s [3 3 3 3 3.8 4.6 5.4 6.2 7 7]']/10, [10 1 3]), eps) 386s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [0; 1]), 386s reshape ([[0 0 .125 .375 .625 .875 1 1 1 1]' 386s [0 0 0 0 1/3 2/3 1 1 1 1]' 386s [0 0 0 0 0 .25 .75 1 1 1]'], [10 1 3]), eps*10) 386s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [.2 0 .4; .5 1 .7 ]), 386s reshape ([[.2 .2 .2375 .3125 .3875 .4625 .5 .5 .5 .5]' 386s [0 0 0 0 1/3 2/3 1 1 1 1]' 386s [.4 .4 .4 .4 .4 .475 .625 .7 .7 .7]'], [10 1 3]), eps) 386s ***** test 386s img = rand (4, 4, 2, 3, 4); 386s adj = zeros (4, 4, 2, 3, 4); 386s for p = 1:2 386s for q = 1:3 386s for r = 1:4 386s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r)); 386s endfor 386s endfor 386s endfor 386s assert (imadjust (img), adj) 386s ***** test 386s img = rand (4, 4, 2, 3, 2); 386s adj = zeros (4, 4, 2, 3, 2); 386s in = reshape ([ 3 5 7 9 11 13 15 17 19 21 23 25; 386s 97 95 93 91 89 87 85 83 81 79 77 75] / 100, [2 2 3 2]); 386s out = reshape ([ 5 7 9 11 14 15 17 19 21 23 25 27; 386s 95 93 91 89 87 85 83 81 79 77 75 73] / 100, [2 2 3 2]); 386s gamma = reshape (0.6:.1:1.7, [1 2 3 2]); 386s for p = 1:2 386s for q = 1:3 386s for r = 1:2 386s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r), in(:,p,q,r), 386s out(:,p,q,r), gamma(1,p,q,r)); 386s endfor 386s endfor 386s endfor 386s assert (imadjust (img, in, out, gamma), adj, eps) 386s ***** test 386s in = int16 (1:6); 386s assert (imadjust (in), int16 ([-32768 -19661 -6554 6553 19660 32767])) 386s assert (imadjust (in, []), in) 386s ***** test 386s in = uint8([ 386s 35 1 6 26 19 24 386s 3 32 7 21 23 25 386s 31 9 2 22 27 20 386s 8 28 33 17 10 15 386s 30 5 34 12 14 16 386s 4 36 29 13 18 11]); 386s out = uint8([ 386s 12 0 0 1 0 0 386s 0 8 0 0 0 0 386s 7 0 0 0 2 0 386s 0 3 9 0 0 0 386s 6 0 11 0 0 0 386s 0 13 4 0 0 0]); 386s assert (imadjust (in, [.1 .9], [0 1]), out); 386s ***** test 386s in = uint8([ 386s 140 4 24 104 76 96 386s 12 128 28 84 92 100 386s 124 36 8 88 108 80 386s 32 112 132 68 40 60 386s 120 20 136 48 56 64 386s 16 144 116 52 72 44]); 386s out = uint8([ 386s 143 0 0 98 63 88 386s 0 128 3 73 83 93 386s 123 13 0 78 103 68 386s 8 108 133 53 18 43 386s 118 0 138 28 38 48 386s 0 148 113 33 58 23]); 386s assert (imadjust (in, [.1 .9], [0 1]), out); 386s ***** xtest 386s in_u8 = randi ([0 255], 5, 5, 2, 3, "uint8"); 386s in_u16 = randi ([0 65535], 5, 5, 2, 3, "uint16"); 386s in_i16 = randi ([-32768 32767], 5, 5, 2, 3, "int16"); 386s in_u8_d = im2double (in_u8); 386s in_u16_d = im2double (in_u16); 386s in_i16_d = im2double (in_i16); 386s lim_u8 = eps + 0.5 / double (intmax ("uint8")); 386s lim_u16 = eps + 0.5 / double (intmax ("uint16")); 386s lim_i16 = eps + 0.5 / ( double (intmax("int16")) - double (intmin ("int16")) ); 386s 386s ## default values 386s assert (im2double (imadjust (in_u8)), imadjust (in_u8_d), lim_u8) 386s assert (im2double( imadjust (in_u16)), imadjust (in_u16_d), lim_u16) 386s assert (im2double( imadjust (in_i16)), imadjust (in_i16_d), lim_i16) 386s 386s ## single adjustment for all planes 386s args = {[.3; .7], [.1; .9], [1.5]}; 386s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 386s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 386s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 386s 386s ## single adjustment for all planes (mixed with some complement) 386s args = {reshape([.2 .3 .25 .1 0 .1; .9 .7 .85 .9 1 .8], [2 2 3]), 386s reshape([.1 .2 .05 .9 1 .3; .9 .85 .7 .1 0 .9], [2 2 3]), 386s reshape([1 .75 1 1.2 1.5 2], [1 2 3])}; 386s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 386s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 386s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 386s 386s ## test use of [] as limit and negative 386s args = {[], [.95; 0], 1.25}; 386s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 386s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 386s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 386s 36 tests, 36 passed, 0 known failure, 0 skipped 386s [inst/imcrop.m] 386s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imcrop.m 386s ***** test 386s a = randi (255, [100 100]); 386s rect = [20 30 3 5]; 386s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 386s assert (nthargout (2, @imcrop, a, rect), rect); 386s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 386s ***** test 386s rgb = randi (255, [100 100 3]); 386s rect = [20 30 3 5]; 386s assert (nthargout ([1 2], @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 386s assert (nthargout (2, @imcrop, rgb, rect), rect); 386s assert (nthargout ([3 4], 4, @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 386s ***** test 386s a = randi (255, [100 100]); 386s rect = [20 30 3 5]; 386s cmap = jet (255); 386s assert (nthargout ([1 2], @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 386s assert (nthargout (2, @imcrop, a, cmap, rect), rect); 386s assert (nthargout ([3 4], 4, @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 386s ***** test 386s a = rand (100) > 0.5; 386s rect = [20 30 3 5]; 386s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 386s assert (nthargout (2, @imcrop, a, rect), rect); 386s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 386s ***** assert (imcrop (0, [0.5 0.5 0.9 0.9]), 0); 386s ***** assert (imcrop (zeros (5), [1 1 1 1]), zeros (2)); 386s ***** test 386s im = magic (5); 386s assert (imcrop (im, [1 1 5 5]), im) 386s assert (imcrop (im, [0 0 5 5]), im) 386s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 386s assert (imcrop (im, [1 -3 2 5]), im(1:2,1:3)) 386s assert (imcrop (im, [5 -3 2 5]), im(1:2,5)) 386s ***** test 386s im = [1:7] .* [1; 2; 3; 4; 5]; 386s assert (imcrop (im, [1 1 5 5]), im(:,1:6)) 386s assert (imcrop (im, [0 0 5 5]), im(:,1:5)) 386s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 386s assert (imcrop (im, [1 -3 2 7]), im(1:4,1:3)) 386s assert (imcrop (im, [7 -3 2 7]), im(1:4,7)) 386s ***** test 386s ## Matlab returns [] (size 0x0) for this cases, while we return 386s ## [] (size 2x0). We are not compatible by design. If it ever 386s ## becomes an issue to anyone we can review this decision. 386s assert (imcrop (magic (5), [6 -3 2 5]), zeros (2, 0)) 386s 9 tests, 9 passed, 0 known failure, 0 skipped 386s [inst/im2col.m] 386s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/im2col.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 ***** test 386s a = rand (10); 386s assert (im2col (a, [5 5]), im2col (a, [5 5], "sliding")) 386s ***** test 386s a = rand (10); 386s assert (im2col (a, [5 5]), im2col (a, "indexed", [5 5])) 386s ***** error im2col (rand (20), [2 5], 10) 386s ***** error im2col (rand (20), [2 5], "wrong_block_type") 386s ***** error im2col (rand (10), [5 5], "sliding", 5) 386s ***** error im2col (rand (10), "indexed", [5 5], "sliding", 5) 386s ***** shared B, A, Bs, As, Ap, Bp0, Bp1, Bp0_3s 386s v = [1:10]'; 386s r = reshape (v, 2, 5); 386s B = [v v+20 v+40 v+10 v+30 v+50]; 386s A = [r r+10; r+20 r+30; r+40 r+50]; 386s As = [ 1 2 3 4 5 386s 6 7 8 9 10 386s 11 12 13 14 15]; 386s b1 = As(1:2, 1:4)(:); 386s b2 = As(2:3, 1:4)(:); 386s b3 = As(1:2, 2:5)(:); 386s b4 = As(2:3, 2:5)(:); 386s Bs = [b1, b2, b3, b4]; 386s Ap = A(:, 1:9); 386s Bp1 = Bp0 = B; 386s Bp0(9:10, 4:6) = 0; 386s Bp1(9:10, 4:6) = 1; 386s Bp0_3s = Bp0; 386s Bp0_3s(11:30, :) = 0; 386s ***** assert (im2col (A, [2 5], "distinct"), B); 386s ***** assert (im2col (Ap, [2 5], "distinct"), Bp0); 386s ***** assert (im2col (Ap, [2 5 3], "distinct"), Bp0_3s); 386s ***** assert (im2col (Ap, "indexed", [2 5], "distinct"), Bp1); 386s ***** assert (im2col (uint8 (Ap), "indexed", [2 5], "distinct"), uint8 (Bp0)); 386s ***** assert (im2col (uint16 (Ap), "indexed", [2 5], "distinct"), uint16 (Bp0)); 386s ***** assert (im2col (int16 (Ap), "indexed", [2 5], "distinct"), int16 (Bp1)); 386s ***** assert (im2col (uint32 (Ap), "indexed", [2 5], "distinct"), uint32 (Bp1)); 386s ***** assert (im2col (uint8 (A), [2 5], "distinct"), uint8 (B)); 386s ***** assert (im2col (single (A), [2 5], "distinct"), single (B)); 386s ***** assert (im2col (logical (A), [2 5], "distinct"), logical (B)); 386s ***** assert (im2col (uint8 (As), [2 4], "sliding"), uint8 (Bs)); 386s ***** assert (im2col (single (As), [2 4], "sliding"), single (Bs)); 386s ***** assert (im2col (logical (As), [2 4], "sliding"), logical (Bs)); 386s ***** assert (im2col (As, [2 4], "sliding"), Bs); 386s ***** assert (im2col (As, [3 5], "sliding"), As(:)); 386s ***** test 386s A = randi (9, 10, 9, 5); 386s ***** assert (convn (A, ones (3, 3, 3), "valid"), 386s reshape (sum (im2col (A, [3 3 3])), [8 7 3])); 386s 386s A = randi (9, 10, 9, 5, 7); 386s ***** assert (convn (A, ones (3, 3, 3), "valid"), 386s reshape (sum (im2col (A, [3 3 3])), [8 7 3 7])); 386s ***** assert (convn (A, ones (3, 4, 3), "valid"), 386s reshape (sum (im2col (A, [3 4 3])), [8 6 3 7])); 386s ***** assert (convn (A, ones (3, 5, 3, 2), "valid"), 386s reshape (sum (im2col (A, [3 5 3 2])), [8 5 3 6])); 386s ***** assert (im2col (1:8, [2 1]), zeros (2, 0)) 386s 28 tests, 28 passed, 0 known failure, 0 skipped 386s [inst/lab2rgb.m] 386s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2rgb.m 386s ***** assert (lab2rgb ([0 0 0]), [0, 0, 0], 1e-3) 386s ***** assert (lab2rgb ([53.24, 80.09, 67.20]), [1 0 0], 1e-3) 386s ***** assert (lab2rgb ([97.14, -21.55, 94.48]), [1 1 0], 1e-3) 386s ***** assert (lab2rgb ([87.74, -86.18, 83.18]), [0 1 0], 1e-3) 386s ***** assert (lab2rgb ([91.11, -48.09, -14.13]), [0 1 1], 1e-3) 386s ***** assert (lab2rgb ([32.30, 79.19, -107.86]), [0 0 1], 1e-3) 386s ***** assert (lab2rgb ([60.32, 98.24, -60.83]), [1 0 1], 1e-3) 386s ***** assert (lab2rgb ([100, 0.00, 0.00]), [1 1 1], 1e-3) 386s ***** assert (lab2rgb ([53.39, 0.00, 0.00]), [0.5 0.5 0.5], 1e-3) 386s ***** assert (lab2rgb ([39.77, 64.51, 54.13]), [0.75 0 0], 1e-3) 386s ***** assert (lab2rgb ([25.42, 47.91, 37.91]), [0.5 0 0], 1e-3) 386s ***** assert (lab2rgb ([9.66, 29.68, 15.24]), [0.25 0 0], 1e-3) 386s ***** assert (lab2rgb ([68.11, 48.39, 22.83]), [1 0.5 0.5], 1e-3) 386s ***** assert (lab2rgb ([150 130 130]), [2.714, 1.028, 0.492], 1e-3) 386s ***** test 386s lab_map = rand (64, 3); 386s lab_map(:,1) = lab_map(:,1) .* 100; 386s lab_map(:,2) = lab_map(:,2) .* 254 - 127; 386s lab_map(:,3) = lab_map(:,3) .* 254 - 127; 386s assert (rgb2lab (lab2rgb (lab_map)), lab_map, 5e-3); 386s ***** test 386s lab_img = rand (64, 64, 3); 386s lab_img(:,:,1) = lab_img(:,:,1) .* 100; 386s lab_img(:,:,2) = lab_img(:,:,2) .* 254 - 127; 386s lab_img(:,:,3) = lab_img(:,:,3) .* 254 - 127; 386s assert (rgb2lab (lab2rgb (lab_img)), lab_img, 5e-3); 386s ***** assert (lab2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 386s ***** assert (lab2rgb (sparse ([100, 0.00, 0.00])), [1 1 1], 1e-3) 386s ***** assert (class (lab2rgb (single([50 50 50]))), 'single') 386s ***** error lab2rgb () 387s ***** error lab2rgb (1,2) 387s ***** error lab2rgb ({1}) 387s ***** error lab2rgb (ones (2,2)) 387s ***** test 387s lab = rand (16, 16, 3, 5); 387s lab(:,:,1,:) = lab(:,:,1,:) .* 100; 387s lab(:,:,2,:) = lab(:,:,2,:) .* 254 - 127; 387s lab(:,:,3,:) = lab(:,:,3,:) .* 254 - 127; 387s rgb = zeros (size (lab)); 387s for i = 1:5 387s rgb(:,:,:,i) = lab2rgb (lab(:,:,:,i)); 387s endfor 387s assert (lab2rgb (lab), rgb) 387s 24 tests, 24 passed, 0 known failure, 0 skipped 387s [inst/xyz2lab.m] 387s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/xyz2lab.m 387s ***** assert (xyz2lab ([0, 0, 0]), [0 0 0], 5e-2) 387s ***** assert (xyz2lab ([0.4125, 0.2127, 0.0193]), [53.24, 80.09, 67.20], 5e-2) 387s ***** assert (xyz2lab ([0.7700, 0.9278, 0.1385]), [97.14, -21.55, 94.48], 5e-2) 387s ***** assert (xyz2lab ([0.3576, 0.7152, 0.1192]), [87.74, -86.18, 83.18], 5e-2) 387s ***** assert (xyz2lab ([0.5380, 0.7873, 1.0694]), [91.11, -48.09, -14.13], 5e-2) 387s ***** assert (xyz2lab ([0.1804, 0.07217, 0.9502]), [32.30, 79.19, -107.86], 5e-2) 387s ***** assert (xyz2lab ([0.5929, 0.28484, 0.9696]), [60.32, 98.24, -60.83], 5e-2) 387s ***** assert (xyz2lab ([0.9505, 1.0000, 1.0888]), [100, 0.00, 0.00], 5e-2) 387s ***** assert (xyz2lab ([0.2034, 0.2140, 0.2330]), [53.39, 0.00, 0.00], 5e-2) 387s ***** assert (xyz2lab ([0.2155, 0.1111, 0.0101]), [39.77, 64.51, 54.13], 5e-2) 387s ***** assert (xyz2lab ([0.0883, 0.0455, 0.0041]), [25.42, 47.91, 37.91], 5e-2) 387s ***** assert (xyz2lab ([0.02094, 0.0108, 0.00098]), [9.66, 29.68, 15.24], 5e-2) 387s ***** assert (xyz2lab ([0.5276, 0.3812, 0.2482]), [68.11, 48.39, 22.83], 5e-2) 387s ***** assert (xyz2lab ([1.5 1 1]), [100, 82.15, 5.60], 5e-2) 387s xyz_map = rand (64, 3); 387s assert (lab2xyz (xyz2lab (xyz_map)), xyz_map, 1e-5); 387s ***** test 387s xyz_img = rand (64, 64, 3); 387s assert (lab2xyz (xyz2lab (xyz_img)), xyz_img, 1e-5); 387s ***** assert (xyz2lab (sparse ([0 0 0])), [0 0 0], 5e-2) 387s ***** assert (class (xyz2lab (single([0.5 0.5 0.5]))), 'single') 387s ***** error xyz2lab () 387s ***** error xyz2lab (1,2) 387s ***** error xyz2lab ({1}) 387s ***** error xyz2lab (ones (2,2)) 387s ***** test 387s xyz = rand (16, 16, 3, 5); 387s lab = zeros (size (xyz)); 387s for i = 1:5 387s lab(:,:,:,i) = xyz2lab (xyz(:,:,:,i)); 387s endfor 387s assert (xyz2lab (xyz), lab) 387s 22 tests, 22 passed, 0 known failure, 0 skipped 387s [inst/@imref2d/imref2d.m] 387s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref2d/imref2d.m 387s ***** error id=Octave:invalid-fun-call imref2d (1, 2, 3, 4) 387s ***** error id=Octave:invalid-input-arg imref2d (42) 387s ***** error id=Octave:invalid-input-arg imref2d ([42]) 387s ***** error id=Octave:expected-integer imref2d ([4.2, 42]) 387s ***** error id=Octave:expected-positive imref2d ([0, 0]) 387s ***** error id=Octave:expected-positive imref2d ([-4, 2]) 387s ***** error id=Octave:expected-positive imref2d ([4, 2], 0, 2) 387s ***** error id=Octave:expected-positive imref2d ([4, 2], 2, 0) 387s ***** error id=Octave:expected-real imref2d ([4, 2], j, 2) 387s ***** error id=Octave:expected-real imref2d ([4, 2], 2, j) 387s ***** error id=Octave:expected-real imref2d ([4, 2], [j, 2], [3, 4]) 387s ***** error id=Octave:expected-real imref2d ([4, 2], [1, 2], [j, 4]) 387s ***** error id=Octave:expected-vector imref2d ([4, 2], [], []) 387s ***** error id=Octave:expected-vector imref2d ([4, 2], [], [1]) 387s ***** error id=Octave:expected-scalar imref2d ([4, 2], [1], []) 387s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [0]) 387s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1, 2, 3]) 387s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2, 3], [1, 2]) 387s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1; 2], [1, 2]) 387s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1; 2]) 387s ***** error id=Octave:invalid-indexing imref2d().InvalidProperty 387s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 0.5], [2.5 3.5]) 387s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 2.5], [2.5 1.5]) 387s ***** test 387s r = imref2d; 387s assert (r.XWorldLimits, [0.5, 2.5]) 387s assert (r.YWorldLimits, [0.5, 2.5]) 387s assert (r.ImageSize, [2, 2]) 387s assert (r.PixelExtentInWorldX, 1) 387s assert (r.PixelExtentInWorldY, 1) 387s assert (r.ImageExtentInWorldX, 2) 387s assert (r.ImageExtentInWorldY, 2) 387s assert (r.XIntrinsicLimits, [0.5, 2.5]) 387s assert (r.YIntrinsicLimits, [0.5, 2.5]) 387s ***** test 387s r = imref2d ([100, 200]); 387s assert (r.XWorldLimits, [0.5, 200.5]) 387s assert (r.YWorldLimits, [0.5, 100.5]) 387s assert (r.ImageSize, [100, 200]) 387s assert (r.PixelExtentInWorldX, 1) 387s assert (r.PixelExtentInWorldY, 1) 387s assert (r.ImageExtentInWorldX, 200) 387s assert (r.ImageExtentInWorldY, 100) 387s assert (r.XIntrinsicLimits, [0.5, 200.5]) 387s assert (r.YIntrinsicLimits, [0.5, 100.5]) 387s ***** test 387s xWorldLimits = [2, 5]; 387s yWorldLimits = [3, 6]; 387s r = imref2d ([291, 240], xWorldLimits, yWorldLimits); 387s assert (r.XWorldLimits, [2, 5]) 387s assert (r.YWorldLimits, [3, 6]) 387s assert (r.ImageSize, [291, 240]) 387s assert (r.PixelExtentInWorldX, 0.0125) 387s assert (r.PixelExtentInWorldY, 0.0103, 1e-3) 387s assert (r.ImageExtentInWorldX, 3) 387s assert (r.ImageExtentInWorldY, 3) 387s assert (r.XIntrinsicLimits, [0.5, 240.5]) 387s assert (r.YIntrinsicLimits, [0.5, 291.5]) 387s ***** test 387s pixelExtentInWorldX = 0.3125; 387s pixelExtentInWorldY = 0.3125; 387s r = imref2d ([512, 512], pixelExtentInWorldX, pixelExtentInWorldY); 387s assert (r.XWorldLimits, [0.15625, 160.1562], 1e-4) 387s assert (r.YWorldLimits, [0.15625, 160.1562], 1e-4) 387s assert (r.ImageSize, [512, 512]) 387s assert (r.PixelExtentInWorldX, 0.3125) 387s assert (r.PixelExtentInWorldY, 0.3125) 387s assert (r.ImageExtentInWorldX, 160) 387s assert (r.ImageExtentInWorldY, 160) 387s assert (r.XIntrinsicLimits, [0.5, 512.5]) 387s assert (r.YIntrinsicLimits, [0.5, 512.5]) 387s ***** test 387s pixelExtentInWorldX = 0.1; 387s pixelExtentInWorldY = 0.4; 387s r = imref2d ([100, 200], pixelExtentInWorldX, pixelExtentInWorldY); 387s assert (r.XWorldLimits, [0.05, 20.05], 1e-4) 387s assert (r.YWorldLimits, [0.2, 40.2], 1e-4) 387s assert (r.ImageSize, [100, 200]) 387s assert (r.PixelExtentInWorldX, 0.1) 387s assert (r.PixelExtentInWorldY, 0.4) 387s assert (r.ImageExtentInWorldX, 20) 387s assert (r.ImageExtentInWorldY, 40) 387s assert (r.XIntrinsicLimits, [0.5, 200.5]) 387s assert (r.YIntrinsicLimits, [0.5, 100.5]) 387s ***** test 387s r = imref2d; 387s assert (r.XWorldLimits, [0.5, 2.5]) 387s assert (r.YWorldLimits, [0.5, 2.5]) 387s assert (r.ImageSize, [2, 2]) 387s assert (r.PixelExtentInWorldX, 1) 387s assert (r.PixelExtentInWorldY, 1) 387s assert (r.ImageExtentInWorldX, 2) 387s assert (r.ImageExtentInWorldY, 2) 387s assert (r.XIntrinsicLimits, [0.5, 2.5]) 387s assert (r.YIntrinsicLimits, [0.5, 2.5]) 387s r.ImageSize = [800, 600]; 387s assert (r.XWorldLimits, [0.5, 2.5]) 387s assert (r.YWorldLimits, [0.5, 2.5]) 387s assert (r.ImageSize, [800, 600]) 387s assert (r.PixelExtentInWorldX, 0.003333, 1e-5) 387s assert (r.PixelExtentInWorldY, 0.0025) 387s assert (r.ImageExtentInWorldX, 2) 387s assert (r.ImageExtentInWorldY, 2) 387s assert (r.XIntrinsicLimits, [0.5, 600.5]) 387s assert (r.YIntrinsicLimits, [0.5, 800.5]) 387s ***** test 387s r = imref2d; 387s assert (r.XWorldLimits, [0.5, 2.5]) 387s assert (r.YWorldLimits, [0.5, 2.5]) 387s assert (r.ImageSize, [2, 2]) 387s assert (r.PixelExtentInWorldX, 1) 387s assert (r.PixelExtentInWorldY, 1) 387s assert (r.ImageExtentInWorldX, 2) 387s assert (r.ImageExtentInWorldY, 2) 387s assert (r.XIntrinsicLimits, [0.5, 2.5]) 387s assert (r.YIntrinsicLimits, [0.5, 2.5]) 387s r.XWorldLimits = [-60, 13.33]; 387s r.YWorldLimits = [-900.8, -560.26]; 387s assert (r.XWorldLimits, [-60, 13.33]) 387s assert (r.YWorldLimits, [-900.8, -560.26]) 387s assert (r.PixelExtentInWorldX, 36.6650) 387s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 387s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 387s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 387s assert (r.XIntrinsicLimits, [0.5, 2.5]) 387s assert (r.YIntrinsicLimits, [0.5, 2.5]) 387s ***** test 387s r = imref2d; 387s fail ("r.XWorldLimits = []", "") 387s fail ("r.XWorldLimits = [1]", "") 387s fail ("r.XWorldLimits = [j]", "") 387s fail ("r.XWorldLimits = [1; 2]", "") 387s fail ("r.YWorldLimits = []", "") 387s fail ("r.YWorldLimits = [1]", "") 387s fail ("r.YWorldLimits = [j]", "") 387s fail ("r.YWorldLimits = [1; 2]", "") 387s ***** assert (imref2d ([4, 2, 3]).ImageSize, [4, 2]); 387s 32 tests, 32 passed, 0 known failure, 0 skipped 387s [inst/@imref2d/contains.m] 387s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref2d/contains.m 387s ***** error id=Octave:invalid-fun-call contains (imref2d) 387s ***** error id=Octave:invalid-fun-call contains (imref2d, 1) 387s ***** error id=Octave:invalid-fun-call contains (imref2d, 1, 2, 3) 387s ***** error id=Octave:invalid-input-arg contains (imref2d, 1, [2, 3]) 387s ***** error id=Octave:invalid-input-arg contains (imref2d, [1, 2], 3) 387s ***** error id=Octave:expected-real contains (imref2d, 0, j) 387s ***** error id=Octave:expected-real contains (imref2d, j, 0) 387s ***** assert (contains (imref2d, [], []), logical( zeros (0, 0))) 387s ***** assert (contains (imref2d, [1, 2; 3, 4], [5, -6; 7, 8]), logical (zeros (2, 2))) 387s ***** test 387s r = imref2d ([256, 256]); 387s assert (contains(r, [5, 8, 8], [5, 10, 257]), logical([1, 1, 0])) 387s 10 tests, 10 passed, 0 known failure, 0 skipped 387s [inst/@imref2d/worldToSubscript.m] 387s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref2d/worldToSubscript.m 387s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d) 388s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d, 1, 2, 3) 388s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1j, 2) 388s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1, 2j) 388s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1, 2], 3) 388s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1], [2, 3]) 388s ***** test 388s r = imref2d ([512, 512], 0.3125, 0.3125); 388s xW = [38.44, 39.44, 38.44, -0.2]; 388s yW = [68.75, 68.75, 75.75, -1]; 388s [rS, cS] = worldToSubscript (r, xW, yW); 388s assert (rS, [220, 220, 242, NaN]) 388s assert (cS, [123, 126, 123, NaN]) 388s 7 tests, 7 passed, 0 known failure, 0 skipped 388s [inst/@imref2d/sizesMatch.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref2d/sizesMatch.m 388s ***** error id=Octave:invalid-fun-call sizesMatch (imref2d) 388s ***** test 388s I = zeros (256, 256); 388s r = imref2d ([256, 256]); 388s assert (sizesMatch (r, I), true) 388s I2 = zeros (246, 300); 388s assert (sizesMatch (r, I2), false) 388s ***** test 388s r = imref2d ([256, 256]); 388s assert (sizesMatch (r, []), false) 388s ***** test 388s r = imref2d ([256, 256]); 388s assert (sizesMatch (r, 42), false) 388s ***** test 388s r = imref2d ([256, 256]); 388s assert (sizesMatch (r, zeros (256, 256, 3, 2)), true) 388s ***** test 388s I = zeros (384, 512, 3); 388s r = imref2d (size (I)); 388s assert (sizesMatch (r, I), true) 388s 6 tests, 6 passed, 0 known failure, 0 skipped 388s [inst/@imref2d/intrinsicToWorld.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/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]) 388s ***** test 388s [xWorld, yWorld] = intrinsicToWorld (imref2d, -5.3, -2.8); 388s assert (xWorld, -5.3) 388s assert (yWorld, -2.8) 388s ***** test 388s [xW, yW] = intrinsicToWorld (imref2d, [1, 2; 3, 4], [2, 3; 5, 9]); 388s assert (xW, [1, 2; 3, 4]) 388s assert (yW, [2, 3; 5, 9]) 388s 9 tests, 9 passed, 0 known failure, 0 skipped 388s [inst/@imref2d/worldToIntrinsic.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/@imref2d/worldToIntrinsic.m 388s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d) 388s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d, 1, 2, 3) 388s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1j, 2) 388s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1, 2j) 388s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1, 2], 3) 388s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1], [2, 3]) 388s ***** test 388s r = imref2d ([512, 512], 0.3125, 0.3125); 388s xW = [38.44, 39.44, 38.44, -0.2]; 388s yW = [68.75, 68.75, 75.75, -1]; 388s [xI, yI] = worldToIntrinsic (r, xW, yW); 388s assert (xI, [123.008, 126.208, 123.008, -0.64], 1e-6) 388s assert (yI, [220, 220, 242.4, -3.2], 1e-6) 388s 7 tests, 7 passed, 0 known failure, 0 skipped 388s [inst/immse.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/immse.m 388s ***** error immse (rand (10), rand (12)) 388s ***** error immse (uint8 ([0 1 2 3]), uint16 ([0 1 2 3])) 388s ***** error immse (double ([0 1 2 3]), single ([0 1 2 3])) 388s ***** assert (immse (magic (5), magic (5)), 0) 388s ***** assert (immse (single (magic (5)), single (magic (5))), single (0)) 388s ***** assert (immse (uint8 (magic (5)), uint8 (magic (5))), 0) 388s 6 tests, 6 passed, 0 known failure, 0 skipped 388s [inst/imsubtract.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imsubtract.m 388s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50])), uint8 ([ 0 200])); # default to first class and truncate 388s ***** assert (imsubtract (uint8 ([23 250]), 10), uint8 ([13 240])); # works subtracting a scalar 388s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 0 200])); # defining output class works (not in matlab) 388s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 -1])); # return double for two logical images 388s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 0 0])); # this is matlab incompatible on purpose 388s ***** error imsubtract (uint8 ([23 250]), uint16 ([23 250])); 388s ***** warning imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"); 388s ***** test 388s warning ("off", "all"); 388s assert (imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"), 388s int8 ([-1 0])) 388s 8 tests, 8 passed, 0 known failure, 0 skipped 388s [inst/imcast.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imcast.m 388s ***** test 388s im = randi ([0 255], 40, "uint8"); 388s assert (imcast (im, "uint8"), im2uint8 (im)) 388s assert (imcast (im, "uint16"), im2uint16 (im)) 388s assert (imcast (im, "single"), im2single (im)) 388s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 388s assert (imcast (im, "uint16", "indexed"), im2uint16 (im, "indexed")) 388s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 388s ***** test 388s im = randi ([1 256], 40, "double"); 388s assert (imcast (im, "uint8"), im2uint8 (im)) 388s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 388s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 388s ***** test 388s im = randi ([0 65535], 40, "uint16"); 388s assert (imcast (im, "uint8"), im2uint8 (im)) 388s assert (imcast (im, "single"), im2single (im)) 388s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 388s ***** test 388s im = randi ([1 255], 40, "double"); 388s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 388s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 388s ***** test 388s im = rand (40); 388s assert (imcast (im, "uint8"), im2uint8 (im)) 388s ***** error imcast (randi (127, 40, "int8"), "uint8") 388s ***** error imcast (randi (255, 40, "uint8"), "uint32") 388s ***** error imcast (randi (255, 40, "uint8"), "not a class") 388s ***** error imcast (randi ([0 65535], 40, "uint16"), "uint8", "indexed") 388s ***** assert (imcast ([0 1 .2; 2 -0 Inf], "logical"), logical ([0 1 1; 1 0 1])) 388s 10 tests, 10 passed, 0 known failure, 0 skipped 388s [inst/col2im.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/col2im.m 388s ***** demo 388s ## Divide A using distinct blocks and then reverse the operation 388s A = [ 1:10 388s 11:20 388s 21:30 388s 31:40]; 388s B = im2col (A, [2 5], "distinct") 388s C = col2im (B, [2 5], [4 10], "distinct") 388s ***** demo 388s ## Get sliding blocks of size from A into columns, calculate the 388s ## mean of each block (mean of each column), and reconstruct A 388s ## after a median filter. 388s A = reshape (1:24, [4 6]) 388s B = im2col (A, [2 3], "sliding") 388s C = mean (B); 388s col2im (C, [1 1], [3 4], "sliding") 388s ***** error col2im (ones (10), [5 5], [10 10], "wrong_block_type"); 388s ***** error col2im (ones (10), [1 1], [ 7 7], "sliding"); 388s ***** error col2im (ones (10), [3 3], [10 10], "distinct") 388s ***** error col2im (ones (10), [5 5], [10 11], "distinct"); 388s ***** assert (col2im (sum (im2col (magic (10), [3 3], "sliding")), [1 1], [8 8]), 388s convn (magic (10), ones (3, 3), "valid")); 388s ***** test 388s B = ones (1, (10-2+1)*(7-3+1)); 388s A = ones ((10-2+1), (7-3+1)); 388s assert (col2im (B, [2 3], [10 7]), A); 388s 388s ## same but different classes 388s assert (col2im (int16 (B), [2 3], [10 7]), int16 (A)); 388s assert (col2im (single (B), [2 3], [10 7]), single (A)); 388s assert (col2im (logical (B), [2 3], [10 7]), logical (A)); 388s ***** test 388s a = rand (10)(:); 388s assert (col2im (a, [1 1], [10 10]), col2im (a, [1 1], [10 10], "sliding")) 388s ***** shared A, B 388s v = [1:10]'; 388s r = reshape (1:10, [2 5]); 388s B = [v v+10 v+20 v+30 v+40 v+50]; 388s A = [r r+30 388s r+10 r+40 388s r+20 r+50]; 388s assert (col2im (B, [2 5], [6 10], "distinct"), A); 388s ***** assert (col2im (int16 (B), [2 5], [6 10], "distinct"), int16 (A)); 388s ***** assert (col2im (logical (B), [2 5], [6 10], "distinct"), logical (A)); 388s ***** assert (col2im (single (B), [2 5], [6 10], "distinct"), single (A)); 388s ***** test 388s a = rand (10, 8); 388s b = im2col (a, [5 5], "distinct"); 388s assert (col2im (b, [5 5], [10 8], "distinct"), a); 388s 388s a = rand (8); 388s b = im2col (a, [5 5], "distinct"); 388s assert (col2im (b, [5 5], [8 8], "distinct"), a); 388s ***** shared a, b 388s ## Same number of multiple dimensions 388s a = rand (10, 10, 10); 388s b = im2col (a, [5 5 5], "distinct"); 388s ***** assert (col2im (b, [5 5 5], [10 10 10], "distinct"), a); 388s 388s ## Different number of dimensions 388s a = rand (10, 10, 10); 388s b = im2col (a, [5 5], "distinct"); 388s ***** assert (col2im (b, [5 5], [10 10 10], "distinct"), a); 388s 388s ## Removing padding from multiple dimensions 388s a = rand (10, 10, 7); 388s b = im2col (a, [5 5 3], "distinct"); 388s ***** assert (col2im (b, [5 5 3], [10 10 7], "distinct"), a); 388s 388s a = rand (10, 10, 7); 388s b = im2col (a, [5 5 5 2], "distinct"); 388s ***** assert (col2im (b, [5 5 5 2], [10 10 7], "distinct"), a); 388s 15 tests, 15 passed, 0 known failure, 0 skipped 388s [inst/mat2gray.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/mat2gray.m 388s ***** assert(mat2gray([1 2 3]), [0 0.5 1]); # standard use 388s ***** assert(mat2gray(repmat ([1 2; 3 3], [1 1 3])), repmat ([0 0.5; 1 1], [1 1 3])); # setting min and max 388s ***** assert(mat2gray([1 2 3], [2 2]), [1 1 1]); # equal min and max 388s ***** assert(mat2gray([-1 0 0.5 3], [2 2]), [0 0 0.5 1]); # equal min and max 388s ***** test 388s ## SCALE is unset and all values in the input IMAGE are the same: 388s ## case 1: all values are in the [0 1] range] 388s assert (mat2gray ([.5 .5; .5 .5]), [.5 .5; .5 .5]) 388s ## case 2: all values are above the [0 1] range 388s assert (mat2gray ([3 3; 3 3]), [1 1; 1 1]) 388s ## case 2: all values are below the [0 1] range 388s assert (mat2gray ([-3 -3; -3 -3]), [0 0; 0 0]) 388s ***** assert(mat2gray([1 2 3], [3 1]), [1 0.5 0]); # max and min inverted 388s ***** assert (mat2gray ([-3 -2 -1]), [0 0.5 1]) 388s 7 tests, 7 passed, 0 known failure, 0 skipped 388s [inst/lab2xyz.m] 388s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/lab2xyz.m 388s ***** assert (lab2xyz ([0, 0, 0]), [0 0 0], 1e-3) 388s ***** assert (lab2xyz ([53.24, 80.09, 67.20]), [0.4125, 0.2127, 0.0193], 1e-3) 388s ***** assert (lab2xyz ([97.14, -21.55, 94.48]), [0.7700, 0.9278, 0.1385], 1e-3) 388s ***** assert (lab2xyz ([87.74, -86.18, 83.18]), [0.3576, 0.7152, 0.1192], 1e-3) 388s ***** assert (lab2xyz ([91.11, -48.09, -14.13]), [0.5380, 0.7873, 1.0694], 1e-3) 388s ***** assert (lab2xyz ([32.30, 79.19, -107.86]), [0.1804, 0.07217, 0.9502], 1e-3) 388s ***** assert (lab2xyz ([60.32, 98.24, -60.83]), [0.5929, 0.28484, 0.9696], 1e-3) 388s ***** assert (lab2xyz ([100, 0.00, 0.00]), [0.9505, 1.0000, 1.0888], 1e-3) 388s ***** assert (lab2xyz ([53.39, 0.00, 0.00]), [0.2034, 0.2140, 0.2330], 1e-3) 388s ***** assert (lab2xyz ([39.77, 64.51, 54.13]), [0.2155, 0.1111, 0.0101], 1e-3) 388s ***** assert (lab2xyz ([25.42, 47.91, 37.91]), [0.0883, 0.0455, 0.0041], 1e-3) 388s ***** assert (lab2xyz ([9.66, 29.68, 15.24]), [0.02094, 0.0108, 0.00098], 1e-3) 388s ***** assert (lab2xyz ([68.11, 48.39, 22.83]), [0.5276, 0.3812, 0.2482], 1e-3) 388s ***** assert (lab2xyz ([150 130 130]), [4.596, 2.931, 0.519], 1e-3) 388s ***** test 388s lab_map = rand (64, 3); 388s lab_map(:,1) = lab_map(:,1) .* 100; 388s lab_map(:,2) = lab_map(:,2) .* 254 - 127; 388s lab_map(:,3) = lab_map(:,3) .* 254 - 127; 388s assert (xyz2lab (lab2xyz (lab_map)), lab_map, 1e-5); 388s ***** test 388s lab_img = rand (64, 64, 3); 388s lab_img(:,:,1) = lab_img(:,:,1) .* 100; 388s lab_img(:,:,2) = lab_img(:,:,2) .* 254 - 127; 388s lab_img(:,:,3) = lab_img(:,:,3) .* 254 - 127; 388s assert (xyz2lab (lab2xyz (lab_img)), lab_img, 1e-5); 388s ***** assert (lab2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 388s ***** assert (lab2xyz (sparse ([100, 0.00, 0.00])), [0.9505, 1.0000, 1.0888], 1e-3) 388s ***** assert (class (lab2xyz (single([50 50 50]))), 'single') 388s ***** error lab2xyz () 388s ***** error lab2xyz (1,2) 388s ***** error lab2xyz ({1}) 388s ***** error lab2xyz (ones (2,2)) 388s ***** test 388s lab = rand (16, 16, 3, 5); 388s lab(:,:,1,:) = lab(:,:,1,:) .* 100; 388s lab(:,:,2,:) = lab(:,:,2,:) .* 254 - 127; 388s lab(:,:,3,:) = lab(:,:,3,:) .* 254 - 127; 388s xyz = zeros (size (lab)); 388s for i = 1:5 388s xyz(:,:,:,i) = lab2xyz (lab(:,:,:,i)); 388s endfor 388s assert (lab2xyz (lab), xyz) 388s 24 tests, 24 passed, 0 known failure, 0 skipped 388s [inst/imimposemin.m] 389s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imimposemin.m 389s ***** shared im0, bw0, out0, out0_4 389s im0 = uint8 ([5 5 5 5 5; 389s 5 4 3 4 5; 389s 5 3 0 3 5; 389s 5 4 3 4 5; 389s 5 5 5 5 5]); 389s bw0 = false (5); 389s bw0(4, 4) = true; 389s out0 = im0 + 1; 389s out0(4, 4) = 0; 389s out0_4 = out0; 389s out0_4(3, 3) = 4; 389s ***** error imimposemin () 389s ***** error imimposemin (im0) 389s ***** error imimposemin ("hello", bw0) 389s ***** error imimposemin (i.*im0, bw0) 389s ***** error imimposemin (sparse (im0), bw0) 389s ***** error imimposemin (im0, ones (2)) 389s ***** error imimposemin (im0, 'hello') 389s ***** error imimposemin (im0, i .* double (bw0)) 389s ***** error imimposemin (im0, sparse (bw0)) 389s ***** error imimposemin (im0, bw0, 'hello') 389s ***** error imimposemin (im0, bw0, 3) 389s ***** assert (imimposemin (im0, bw0), out0) 389s ***** assert (imimposemin (im0, bw0, 8), out0) 389s ***** assert (imimposemin (im0, bw0, 4), out0_4) 389s ***** assert (imimposemin (im0, bw0, true (3)), out0) 389s ***** test 389s out = imimposemin (im0, bw0); 389s assert (size (out), size (im0)) 389s assert (class (out), "uint8") 389s ***** test 389s out = imimposemin (double (im0), bw0); 389s assert (size (out), size (im0)) 389s assert (class (out), "double") 389s ***** test 389s out = imimposemin (single (im0), bw0); 389s assert (size (out), size (im0)) 389s assert (class (out), "single") 389s ***** test 389s out = imimposemin (uint16 (im0), bw0); 389s assert (size (out), size (im0)) 389s assert (class (out), "uint16") 389s ***** test 389s im = cat (3, im0, im0, im0, im0); 389s bw = cat (3, bw0, bw0, bw0, bw0); 389s out = imimposemin (im, bw); 389s assert (size (out), size (im)) 389s ***** test 389s expected_double = double (im0); 389s expected_double += 0.005; 389s expected_double(4, 4) = -inf; 389s out = imimposemin (double (im0), bw0); 389s assert (out, expected_double, eps) 389s ***** test 389s im = uint8 (10 .* ones (10)); 389s im(6:8, 6:8) = 2; 389s im(2:4, 2:4) = 7; 389s im(3, 3) = 5; 389s im(2, 9) = 9; 389s im(3, 8) = 9; 389s im(9, 2) = 9; 389s im(8, 3) = 9; 389s bw = false (10); 389s bw(3, 3) = true; 389s bw(6:8, 6:8) = true; 389s expected = uint8 (11 .* ones(10)); 389s expected(2:4, 2:4) = 8; 389s expected(3, 3) = 0; 389s expected(6:8, 6:8) = 0; 389s expected_double = double (expected); 389s expected_double -= 0.992; 389s expected_double (expected_double < 0) = -inf; 389s out = imimposemin (im, bw); 389s assert (out, expected, eps) 389s out = imimposemin (double (im), bw); 389s assert (out, expected_double, eps) 389s 22 tests, 22 passed, 0 known failure, 0 skipped 389s [inst/imclose.m] 389s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imclose.m 389s ***** shared in, out 389s in = [ 0 0 0 1 1 1 0 0 1 1 389s 0 1 0 1 1 1 0 0 0 1 389s 1 1 1 1 1 0 0 0 0 0 389s 0 1 1 1 1 0 0 0 0 0 389s 0 0 0 1 0 0 0 0 1 0 389s 0 0 0 0 0 0 0 1 1 1 389s 0 0 0 0 1 0 1 0 1 0 389s 0 0 0 1 1 1 1 1 0 0 389s 0 0 0 0 1 1 1 0 0 0 389s 0 0 0 1 1 1 0 0 0 0]; 389s 389s out = [ 1 1 1 1 1 1 1 1 1 1 389s 1 1 1 1 1 1 0 0 0 1 389s 1 1 1 1 1 0 0 0 0 1 389s 1 1 1 1 1 0 0 0 0 1 389s 0 0 0 1 1 0 0 0 1 1 389s 0 0 0 1 1 1 1 1 1 1 389s 0 0 0 1 1 1 1 1 1 1 389s 0 0 0 1 1 1 1 1 0 0 389s 0 0 0 1 1 1 1 0 0 0 389s 0 0 0 1 1 1 1 0 0 0]; 389s ***** assert (imclose (logical (in), ones (3)), logical (out)); 389s 389s out = [99 99 16 16 16 73 74 64 64 64 389s 98 88 16 16 16 73 71 64 64 64 389s 93 88 88 61 61 61 68 70 70 70 389s 93 88 88 61 61 61 68 71 71 71 389s 93 93 88 61 61 61 68 75 66 66 389s 79 79 82 90 90 49 49 49 49 66 389s 79 79 82 91 91 48 46 46 46 66 389s 79 79 82 95 97 48 46 46 46 72 389s 18 18 94 96 84 48 46 46 46 59 389s 18 18 100 96 84 50 50 50 50 59]; 389s ***** assert (imclose (magic (10), ones (3)), out); 389s ***** assert (imclose (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 389s 389s ## using a se that will be decomposed in 2 pieces 389s out =[ 99 99 88 74 74 74 74 70 70 70 389s 98 93 88 74 74 74 74 70 70 70 389s 93 93 88 74 74 74 74 70 70 70 389s 93 93 88 74 74 74 74 71 71 71 389s 93 93 88 75 75 75 75 75 75 75 389s 93 93 90 90 90 72 72 72 72 72 389s 93 93 91 91 91 72 72 72 72 72 389s 93 93 93 95 97 72 72 72 72 72 389s 94 94 94 96 97 72 72 72 72 72 389s 100 100 100 97 97 72 72 72 72 72]; 389s ***** assert (imclose (magic (10), ones(5)), out); 389s 389s ## using a weird non-symmetric and even-size se 389s out =[ 92 99 16 16 16 70 74 58 58 58 389s 98 88 60 73 16 73 69 70 64 58 389s 88 81 88 60 60 60 69 69 70 70 389s 87 87 61 68 61 60 68 69 71 69 389s 86 93 87 61 61 61 68 75 68 69 389s 23 82 89 89 90 45 68 45 68 66 389s 23 23 82 89 91 48 45 45 45 66 389s 79 23 82 95 97 46 48 46 45 72 389s 18 79 94 96 78 50 46 46 46 59 389s 18 18 100 94 94 78 50 50 46 59]; 389s ***** assert (imclose (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 389s 5 tests, 5 passed, 0 known failure, 0 skipped 389s [inst/imsharpen.m] 389s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/inst/imsharpen.m 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = [ 389s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 389s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 389s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 389s 0.00000 -0.01755 -0.07866 1.67032 -0.07866 -0.01755 0.00000 389s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 389s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 389s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 389s assert (imsharpen (A), B, 5e-6) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = [ 389s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147 389s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 389s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 389s -0.0108259 -0.0202255 -0.0294280 1.7666538 -0.0294280 -0.0202255 -0.0108259 389s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 389s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 389s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147]; 389s assert (imsharpen (A, "radius", 2), B, 5e-8) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s assert (imsharpen (A, "radius", 0.01), A) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = A; 389s B(3:5,3:5) = -0.000000000011110; 389s B(3:5,4) = -0.000002981278097; 389s B(4,3:5) = -0.000002981278097; 389s B(4,4) = 1.000011925156828; 389s assert (imsharpen (A, "radius", 0.2), B, eps*10) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = [ 389s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 389s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 389s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 389s 0.00000 -0.02194 -0.09832 1.83790 -0.09832 -0.02194 0.00000 389s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 389s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 389s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 389s assert (imsharpen (A, "amount", 1), B, 5e-6) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = zeros (7, 7); 389s B(4,4) = 1.670317742690299; 389s B(4,3) = -0.078656265079077; 389s B(3,4) = -0.078656265079077; 389s B(4,5) = -0.078656265079077; 389s B(5,4) = -0.078656265079077; 389s assert (imsharpen (A, "Threshold", 0.117341762), B, eps*10) 389s ***** test 389s A = zeros (7, 7); 389s A(4,4) = 1; 389s B = zeros (7, 7); 389s B(4,4) = 1.670317742690299; 389s assert (imsharpen (A, "Threshold", 0.117341763), B, eps*10) 389s ***** test 389s A = zeros (7, 7, "uint8"); 389s A(3:5,3:5) = 150; 389s B = zeros (7, 7, "uint8"); 389s B(3:5,3:5) = 211; 389s B(4,3:5) = 195; 389s B(3:5,4) = 195; 389s B(4,4) = 175; 389s assert (imsharpen (A), B) 389s ***** test 389s A = zeros (7, 7, "uint8"); 389s A(3:5,3:5) = 100; 389s B = zeros (7, 7, "uint8"); 389s B(3:5,3:5) = 173; 389s assert (imsharpen (A, "radius", 4), B) 389s ***** test 389s A = zeros (7, 7, 3, "uint8"); 389s A(4,4,:) = 255; 389s assert (imsharpen (A), A) 389s ***** xtest 389s A = zeros(7,7,3, "uint8"); 389s A(4,4,1) = 255; 389s B = A; 389s B(4,4,2) = 146; # Octave result is 145; 389s B(4,4,3) = 100; # Octave result is 99; 389s assert (imsharpen (A), B) 389s !!!!! known failure 389s ASSERT errors for: assert (imsharpen (A),B) 389s 389s Location | Observed | Expected | Reason 389s (4,4,2) 145 146 Abs err 0 exceeds tol 0 by 0 389s (4,4,3) 99 100 Abs err 0 exceeds tol 0 by 0 389s ***** xtest 389s A = zeros (7, 7, 3, "uint8"); 389s A(3:5,3:5,1) = 100; 389s A(3:5,3:5,2) = 150; 389s B = A; 389s B(3:5,3:5,1) = 164; 389s B(3:5,4,1) = 146; # Octave result is 147 389s B(4,3:5,1) = 146; # Octave result is 145 389s B(4,4,1) = 125; # Octave result is 126 389s B(3:5,3:5,2) = 213; 389s B(3:5,4,2) = 195; # Octave result is 196 389s B(4,3:5,2) = 195; # Octave result is 196 389s B(4,4,2) = 175; 389s B(3:5,3:5,3) = 79; 389s B(3:5,4,3) = 62; 389s B(4,3:5,3) = 62; 389s B(4,4,3) = 40; # Octave result is 39 389s assert (imsharpen (A), B) 389s !!!!! known failure 389s ASSERT errors for: assert (imsharpen (A),B) 389s 389s Location | Observed | Expected | Reason 389s (4,3,1) 147 146 Abs err 1 exceeds tol 0 by 1 389s (3,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 389s (4,4,1) 126 125 Abs err 1 exceeds tol 0 by 1 389s (5,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 389s (4,5,1) 147 146 Abs err 1 exceeds tol 0 by 1 389s (4,3,2) 196 195 Abs err 1 exceeds tol 0 by 1 389s (3,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 389s (5,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 389s (4,5,2) 196 195 Abs err 1 exceeds tol 0 by 1 389s (4,4,3) 39 40 Abs err 0 exceeds tol 0 by 0 389s ***** error imsharpen () 389s ***** error imsharpen (ones (3, 3), "Radius") 389s ***** error imsharpen (ones (3, 3), "Radius", 0) 389s ***** error imsharpen (ones (3, 3), "Amount", -1) 389s ***** error imsharpen (ones (3, 3), "Threshold", 1.5) 389s ***** error imsharpen (ones (3, 3), "Threshold", -1) 389s ***** error imsharpen (ones (3, 3), "foo") 389s ***** error imsharpen ("foo") 389s 20 tests, 18 passed, 2 known failures, 0 skipped 389s Checking C++ files ... 389s [src/conndef.cc] 389s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/conndef.cc 389s ***** assert (conndef (1, "minimal"), [1; 1; 1]); 389s ***** assert (conndef (2, "minimal"), [0 1 0; 1 1 1; 0 1 0]); 389s ***** test 389s C = zeros (3, 3, 3); 389s C(:,2,2) = 1; 389s C(2,:,2) = 1; 389s C(2,2,:) = 1; 389s assert (conndef (3, "minimal"), C); 389s ***** test 389s C = zeros (3, 3, 3, 3); 389s C(:,:,2,1) = [0 0 0 389s 0 1 0 389s 0 0 0]; 389s C(:,:,1,2) = [0 0 0 389s 0 1 0 389s 0 0 0]; 389s C(:,:,2,2) = [0 1 0 389s 1 1 1 389s 0 1 0]; 389s C(:,:,3,2) = [0 0 0 389s 0 1 0 389s 0 0 0]; 389s C(:,:,2,3) = [0 0 0 389s 0 1 0 389s 0 0 0]; 389s assert (conndef (4, "minimal"), C); 389s ***** assert (conndef (1, "maximal"), ones (3, 1)); 389s ***** assert (conndef (2, "maximal"), ones (3, 3)); 389s ***** assert (conndef (3, "maximal"), ones (3, 3, 3)); 389s ***** assert (conndef (4, "maximal"), ones (3, 3, 3, 3)); 389s ***** assert (nnz (conndef (3, "minimal")), 7) 389s ***** assert (nnz (conndef (4, "minimal")), 9) 389s ***** assert (nnz (conndef (5, "minimal")), 11) 389s ***** assert (nnz (conndef (6, "minimal")), 13) 389s ***** assert (find (conndef (3, "minimal")), [5 11 13 14 15 17 23](:)) 389s ***** assert (find (conndef (4, "minimal")), [14 32 38 40 41 42 44 50 68](:)) 389s ***** assert (find (conndef (5, "minimal")), 389s [ 41 95 113 119 121 122 123 125 131 149 203](:)) 389s ***** assert (find (conndef (6, "minimal")), 389s [ 122 284 338 356 362 364 365 366 368 374 392 446 608](:)) 389s ***** error conndef () 389s ***** error conndef (-2, "minimal") 389s ***** error conndef (char (2), "minimal") 389s ***** error conndef ("minimal", 3) 389s ***** error conndef (3, "invalid") 389s ***** error conndef (10) 389s ***** assert (conndef (2, "minimal"), conndef (4)) 389s ***** assert (conndef (2, "maximal"), conndef (8)) 389s ***** assert (conndef (3, "minimal"), conndef (6)) 389s ***** assert (conndef (3, "maximal"), conndef (26)) 389s ***** assert (conndef (18), reshape ([0 1 0 1 1 1 0 1 0 389s 1 1 1 1 1 1 1 1 1 389s 0 1 0 1 1 1 0 1 0], [3 3 3])) 389s ***** test iptcheckconn ( 4, "func", "var") 389s ***** test iptcheckconn ( 6, "func", "var") 389s ***** test iptcheckconn ( 8, "func", "var") 389s ***** test iptcheckconn (18, "func", "var") 389s ***** test iptcheckconn (26, "func", "var") 389s ***** test iptcheckconn (1, "func", "var") 389s ***** test iptcheckconn (ones (3, 1), "func", "var") 389s ***** test iptcheckconn (ones (3, 3), "func", "var") 389s ***** test iptcheckconn (ones (3, 3, 3), "func", "var") 389s ***** test iptcheckconn (ones (3, 3, 3, 3), "func", "var") 389s ***** error 389s iptcheckconn (3, "func", "VAR"); 389s ***** error 389s iptcheckconn ([1 1 1; 1 0 1; 1 1 1], "func", "VAR"); 389s ***** error 389s iptcheckconn ([1 2 1; 1 1 1; 1 1 1], "func", "VAR"); 389s ***** error 389s iptcheckconn ([0 1 1; 1 1 1; 1 1 1], "func", "VAR"); 389s ***** error 389s iptcheckconn (ones (3, 3, 3, 4), "func", "VAR"); 389s 42 tests, 42 passed, 0 known failure, 0 skipped 389s [src/imerode.cc] 389s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/imerode.cc 389s ***** assert (imerode (eye (3), [1]), eye (3)); 389s ***** assert (imerode (eye (3), []), Inf (3, 3)); 389s ***** test 389s im = [0 1 0 389s 1 1 1 389s 0 1 0]; 389s se = [1 0 0 389s 0 1 0 389s 0 1 1]; 389s assert (imerode (im, se), [0 1 0; 0 0 0; 0 1 0]); 389s assert (imerode (logical(im), se), logical ([0 1 0; 0 0 0; 0 1 0])); 389s assert (imerode (im, se, "full"), 389s [ 0 0 0 0 Inf 389s 1 0 1 0 Inf 389s 0 0 0 0 0 389s Inf 0 1 0 1 389s Inf Inf 0 1 0]); 389s assert (imerode (logical(im), se, "full"), 389s logical([0 0 0 0 1 389s 1 0 1 0 1 389s 0 0 0 0 0 389s 1 0 1 0 1 389s 1 1 0 1 0])); 389s ***** xtest 389s a = rand ([10 40 15 6 8 5]) > 0.2; 389s se = ones ([5 3 7]); 389s 389s ## the image is not really indexed but this way it is padded with 1s 389s assert (imerode (a, se), colfilt (a, "indexed", size (se), "sliding", @all)) 389s 389s assert (imerode (a, se, "valid"), convn (a, se, "valid") == nnz (se)) 389s ## again, we need to pad it ourselves because convn pads with zeros 389s b = true (size (a) + [4 2 6 0 0 0]); 389s b(3:12, 2:41, 4:18,:,:,:) = a; 389s assert (imdilate (b, se, "same"), convn (b, se, "same") > 0) 389s b = true (size (a) + [8 4 12 0 0 0]); 389s b(5:14, 3:42, 7:21,:,:,:) = a; 389s assert (imdilate (b, se, "full"), convn (b, se, "full") > 0) 397s ***** test 397s im = [0 0 0 0 0 0 0 397s 0 0 1 0 1 0 0 397s 0 0 1 1 0 1 0 397s 0 0 1 1 1 0 0 397s 0 0 0 0 0 0 0]; 397s se = [0 0 0 397s 0 1 0 397s 0 1 1]; 397s out = [0 0 0 0 0 0 0 397s 0 0 1 0 0 0 0 397s 0 0 1 1 0 0 0 397s 0 0 0 0 0 0 0 397s 0 0 0 0 0 0 0]; 397s assert (imerode (im, se), out); 397s assert (imerode (logical (im), se), logical (out)); 397s assert (imerode (im, logical (se)), out); 397s assert (imerode (logical (im), logical (se)), logical (out)); 397s 397s # with an even-size SE 397s se = [0 0 0 1 397s 0 1 0 0 397s 0 1 1 1]; 397s out = [0 0 0 0 0 0 0 397s 0 0 0 0 0 0 0 397s 0 0 1 0 0 0 0 397s 0 0 0 0 0 0 0 397s 0 0 0 0 0 0 0]; 397s assert (imerode (im, se), out); 397s out = [ 0 0 0 0 1 0 1 397s 0 0 1 0 1 1 0 397s 0 0 1 1 1 1 1 397s 0 0 1 1 1 1 1 397s 0 0 1 1 1 1 1]; 397s assert (imdilate (im, se), out); 397s ***** test 397s a = [ 82 2 97 43 79 43 41 65 51 11 397s 60 65 21 56 94 77 36 38 75 39 397s 32 68 78 1 16 75 76 90 81 56 397s 43 90 82 41 36 1 87 19 18 63 397s 63 64 2 48 18 43 38 25 22 99 397s 12 46 90 79 3 92 39 79 10 22 397s 38 98 11 10 40 90 88 38 4 76 397s 54 37 9 4 33 98 36 47 53 57 397s 38 76 82 50 14 74 64 99 7 33 397s 88 96 41 62 84 89 97 23 41 3]; 397s 397s domain = ones (3); 397s out = [ 2 1 1 1 16 36 36 11 397s 21 1 1 1 1 1 18 18 397s 2 1 1 1 1 1 18 18 397s 2 2 2 1 1 1 10 10 397s 2 2 2 3 3 25 4 4 397s 9 4 3 3 3 36 4 4 397s 9 4 4 4 14 36 4 4 397s 9 4 4 4 14 23 7 3]; 397s assert (imerode (a, domain, "valid"), out); 397s assert (imerode (uint8 (a), domain, "valid"), uint8 (out)); 397s assert (imerode (uint8 (a), strel ("arbitrary", domain), "valid"), uint8 (out)); 397s assert (imerode (uint8 (a), strel ("square", 3), "valid"), uint8 (out)); 397s 397s ***** ## Test for non-flat strel 397s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 397s 397s out = [ 97 97 97 94 94 90 90 90 397s 90 90 94 94 94 90 90 90 397s 90 90 82 75 87 90 90 99 397s 90 90 90 92 92 92 87 99 397s 98 98 90 92 92 92 88 99 397s 98 98 90 98 98 98 88 79 397s 98 98 82 98 98 99 99 99 397s 96 96 84 98 98 99 99 99]; 397s assert (imdilate (a, domain, "valid"), out); 397s assert (imdilate (uint8 (a), domain, "valid"), uint8 (out)); 397s 397s ***** ## Test for non-flat strel 397s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 397s 397s ## test while using SE that can be decomposed and an actual sequence 397s domain = ones (5); 397s out = [ 2 1 1 1 1 1 16 11 11 11 397s 2 1 1 1 1 1 1 1 11 11 397s 2 1 1 1 1 1 1 1 11 11 397s 2 1 1 1 1 1 1 1 10 10 397s 2 1 1 1 1 1 1 1 4 4 397s 2 2 2 1 1 1 1 1 4 4 397s 2 2 2 2 2 3 3 4 4 4 397s 9 4 3 3 3 3 3 3 3 3 397s 9 4 4 4 4 4 4 3 3 3 397s 9 4 4 4 4 4 7 3 3 3]; 397s assert (imerode (a, domain), out); 397s assert (imerode (a, strel ("square", 5)), out); 397s assert (imerode (a, getsequence (strel ("square", 5))), out); 397s 397s ## using a non-symmetric SE 397s domain = [ 1 1 0 397s 0 1 1 397s 0 1 0]; 397s 397s out = [ 2 2 1 16 36 36 38 39 397s 60 1 1 16 1 36 19 18 397s 32 2 1 1 1 19 18 18 397s 2 2 18 3 1 1 19 10 397s 46 2 2 3 18 38 10 4 397s 11 9 4 3 3 36 4 4 397s 9 4 4 10 36 36 38 4 397s 37 9 4 4 33 36 7 7]; 397s assert (imerode (a, domain, "valid"), out); 397s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 397s 397s out = [ 78 97 56 94 94 90 90 81 397s 90 82 78 94 87 87 90 90 397s 90 90 82 43 75 87 90 99 397s 90 90 79 92 92 87 79 25 397s 98 90 90 90 92 92 79 79 397s 98 98 79 98 98 90 88 57 397s 98 82 50 74 98 99 99 53 397s 96 82 84 89 98 97 99 99]; 397s assert (imdilate (a, domain, "valid"), out); 397s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 397s ***** test 397s im = reshape (magic(16), [4 8 4 2]); 397s se = true (3, 3, 3); 397s out = zeros (4, 8, 4, 2); 397s out(:,:,1,1) = [ 397s 3 3 46 2 2 2 47 47 397s 3 3 30 2 2 2 31 31 397s 17 17 16 16 16 20 13 13 397s 33 33 16 16 16 36 13 13]; 397s out(:,:,2,1) = [ 397s 3 3 46 2 2 2 43 43 397s 3 3 30 2 2 2 27 27 397s 17 17 12 12 12 20 13 13 397s 33 33 12 12 12 36 13 13]; 397s out(:,:,3,1) = [ 397s 3 3 42 6 6 6 43 43 397s 3 3 26 6 6 6 27 27 397s 21 21 12 12 12 20 9 9 397s 37 37 12 12 12 36 9 9]; 397s out(:,:,4,1) = [ 397s 7 7 42 6 6 6 43 43 397s 7 7 26 6 6 6 27 27 397s 21 21 12 12 12 24 9 9 397s 37 37 12 12 12 40 9 9]; 397s out(:,:,1,2) = [ 397s 11 11 38 10 10 10 39 39 397s 11 11 22 10 10 10 23 23 397s 25 25 8 8 8 28 5 5 397s 41 41 8 8 8 44 5 5]; 397s out(:,:,2,2) = [ 397s 11 11 38 10 10 10 35 35 397s 11 11 22 10 10 10 19 19 397s 25 25 4 4 4 28 5 5 397s 41 41 4 4 4 44 5 5]; 397s out(:,:,3,2) = [ 397s 11 11 34 14 14 14 35 35 397s 11 11 18 14 14 14 19 19 397s 29 29 4 4 4 28 1 1 397s 45 45 4 4 4 44 1 1]; 397s out(:,:,4,2) = [ 397s 15 15 34 14 14 14 35 35 397s 15 15 18 14 14 14 19 19 397s 29 29 4 4 4 32 1 1 397s 45 45 4 4 4 48 1 1]; 397s assert (imerode (im, se), out); 397s assert (imerode (uint16 (im), se), uint16 (out)); 397s 397s ## trying a more weird SE 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(:,:,1,1) = [ 397s 3 17 46 2 2 2 47 47 397s 17 3 30 2 2 2 31 31 397s 17 17 16 16 16 20 13 31 397s 33 33 16 16 16 36 13 13]; 397s out(:,:,2,1) = [ 397s 3 3 46 2 2 20 43 61 397s 3 3 30 2 20 2 27 43 397s 33 17 12 20 20 20 13 13 397s 51 33 12 12 30 36 13 13]; 397s out(:,:,3,1) = [ 397s 3 21 42 6 6 6 43 43 397s 21 3 26 6 6 6 27 27 397s 21 21 12 12 12 20 9 27 397s 37 37 12 12 12 36 9 9]; 397s out(:,:,4,1) = [ 397s 7 7 42 6 6 24 57 57 397s 7 7 26 6 24 6 43 43 397s 37 21 26 24 24 24 9 9 397s 55 37 12 12 26 40 9 9]; 397s out(:,:,1,2) = [ 397s 11 25 38 10 10 10 39 39 397s 25 11 22 10 10 10 23 23 397s 25 25 8 8 8 28 5 23 397s 41 41 8 8 8 44 5 5]; 397s out(:,:,2,2) = [ 397s 11 11 38 10 10 28 35 53 397s 11 11 22 10 22 10 19 35 397s 41 25 4 22 22 28 5 5 397s 59 41 4 4 22 44 5 5]; 397s out(:,:,3,2) = [ 397s 11 29 34 14 14 14 35 35 397s 29 11 18 14 14 14 19 19 397s 29 29 4 4 4 28 1 19 397s 45 45 4 4 4 44 1 1]; 397s out(:,:,4,2) = [ 397s 15 15 34 14 14 32 49 49 397s 15 15 18 14 18 14 35 35 397s 45 29 18 18 18 32 1 1 397s 63 45 4 4 18 48 1 1]; 397s assert (imerode (im, se), out); 397s assert (imerode (uint16 (im), se), uint16 (out)); 397s ***** error imerode (ones (10), 45) 397s ***** error imerode (ones (10), "some text") 397s ***** error imerode (ones (10), {23, 45}) 397s ***** error imerode (rand (10) > 10 , strel ("arbitrary", true (3), ones (3))) 397s ***** xtest 397s a = rand ([10 40 15 6 8 5]) > 0.8; 397s se = ones ([5 3 7]); 397s assert (imdilate (a, se), convn (a, se, "same") > 0) 397s assert (imdilate (a, se, "full"), convn (a, se, "full") > 0) 397s assert (imdilate (a, se, "valid"), convn (a, se, "valid") > 0) 397s assert (imdilate (a, se), colfilt (a, size (se), "sliding", @any)) 402s ***** test 402s im = reshape (magic(16), [4 8 4 2]); 402s se = true (3, 3, 3); 402s out = zeros (4, 8, 4, 2); 402s 402s out(:,:,1,1) = [ 402s 256 256 209 253 253 253 212 212 402s 256 256 225 253 253 253 228 228 402s 238 238 243 243 243 239 242 242 402s 222 222 243 243 243 223 242 242]; 402s out(:,:,2,1) = [ 402s 256 256 213 253 253 253 212 212 402s 256 256 229 253 253 253 228 228 402s 238 238 243 243 243 239 246 246 402s 222 222 243 243 243 223 246 246]; 402s out(:,:,3,1) = [ 402s 252 252 213 253 253 253 216 216 402s 252 252 229 253 253 253 232 232 402s 238 238 247 247 247 235 246 246 402s 222 222 247 247 247 219 246 246]; 402s out(:,:,4,1) = [ 402s 252 252 213 249 249 249 216 216 402s 252 252 229 249 249 249 232 232 402s 234 234 247 247 247 235 246 246 402s 218 218 247 247 247 219 246 246]; 402s out(:,:,1,2) = [ 402s 248 248 217 245 245 245 220 220 402s 248 248 233 245 245 245 236 236 402s 230 230 251 251 251 231 250 250 402s 214 214 251 251 251 215 250 250]; 402s out(:,:,2,2) = [ 402s 248 248 221 245 245 245 220 220 402s 248 248 237 245 245 245 236 236 402s 230 230 251 251 251 231 254 254 402s 214 214 251 251 251 215 254 254]; 402s out(:,:,3,2) = [ 402s 244 244 221 245 245 245 224 224 402s 244 244 237 245 245 245 240 240 402s 230 230 255 255 255 227 254 254 402s 214 214 255 255 255 211 254 254]; 402s out(:,:,4,2) = [ 402s 244 244 221 241 241 241 224 224 402s 244 244 237 241 241 241 240 240 402s 226 226 255 255 255 227 254 254 402s 210 210 255 255 255 211 254 254]; 402s assert (imdilate (im, se), out); 402s assert (imdilate (uint16 (im), se), uint16 (out)); 402s 402s ## trying a more weird SE 402s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 402s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 402s out(:,:,1,1) = [ 402s 256 256 209 239 253 253 212 194 402s 256 256 225 239 239 239 228 212 402s 222 222 243 239 243 239 242 242 402s 208 208 225 243 243 223 242 242]; 402s out(:,:,2,1) = [ 402s 256 256 213 253 253 253 212 212 402s 238 256 229 253 253 253 228 228 402s 238 238 243 243 243 239 246 228 402s 222 222 243 243 243 223 228 246]; 402s out(:,:,3,1) = [ 402s 252 252 213 235 253 253 216 198 402s 252 252 229 235 235 253 232 216 402s 222 238 247 235 247 235 246 246 402s 204 222 229 247 247 219 246 246]; 402s out(:,:,4,1) = [ 402s 252 252 213 249 249 249 216 216 402s 234 252 229 249 249 249 232 232 402s 234 234 247 247 247 235 246 232 402s 218 218 247 247 247 219 232 246]; 402s out(:,:,1,2) = [ 402s 248 248 217 231 245 245 220 202 402s 248 248 233 233 233 231 236 220 402s 214 214 251 233 251 231 250 250 402s 200 200 233 251 251 215 250 250]; 402s out(:,:,2,2) = [ 402s 248 248 221 245 245 245 220 220 402s 230 248 237 245 245 245 236 236 402s 230 230 251 251 251 231 254 236 402s 214 214 251 251 251 215 236 254]; 402s out(:,:,3,2) = [ 402s 244 244 221 227 245 245 224 206 402s 244 244 237 237 237 245 240 224 402s 214 230 255 237 255 227 254 254 402s 196 214 237 255 255 211 254 254]; 402s out(:,:,4,2) = [ 402s 244 244 221 241 241 241 224 224 402s 226 244 237 241 241 241 240 240 402s 226 226 255 255 255 227 254 240 402s 210 210 255 255 255 211 240 254]; 402s assert (imdilate (im, se), out); 402s assert (imdilate (uint16 (im), se), uint16 (out)); 402s ***** test # scalar blank SE 402s se = 0; 402s assert (imerode (5, se), Inf) 402s assert (imerode (true, se), true) 402s assert (imerode (false, se), true) 402s assert (imerode (uint8 (3), se), uint8 (255)) 402s 402s assert (imdilate (5, se), -Inf) 402s assert (imdilate (true, se), false) 402s assert (imdilate (false, se), false) 402s assert (imdilate (uint8 (3), se), uint8 (0)) 402s ***** test # empty SE 402s se = []; 402s assert (imerode (5, se), Inf) 402s assert (imerode (true, se), true) 402s assert (imerode (false, se), true) 402s assert (imerode (uint8 (3), se), uint8 (255)) 402s 402s assert (imdilate (5, se), -Inf) 402s assert (imdilate (true, se), false) 402s assert (imdilate (false, se), false) 402s assert (imdilate (uint8 (3), se), uint8 (0)) 402s ***** test # non-scalar blank SE 402s se = zeros (3, 3); 402s assert (imerode (5, se), Inf) 402s assert (imerode (true, se), true) 402s assert (imerode (false, se), true) 402s assert (imerode (uint8 (3), se), uint8 (255)) 402s 402s assert (imdilate (5, se), -Inf) 402s assert (imdilate(true, se), false) 402s assert (imdilate (false, se), false) 402s assert (imdilate (uint8 (3), se), uint8 (0)) 402s ***** test # erode only with out-of-border elements 402s se = [1 1 1; 1 0 1; 1 1 1]; 402s assert (imerode (5, se), Inf) 402s assert (imerode (true, se), true) 402s 402s assert (imdilate (5, se), -Inf) 402s assert (imdilate (true, se), false) 402s ***** test # only true elements of SE are out-of-border 402s se = [0 0 0; 1 0 0; 1 1 0]; 402s assert (imerode (zeros (3), se), [0 0 0; 0 0 0; Inf 0 0]) 402s assert (imerode (false (3), se), logical ([0 0 0; 0 0 0; 1 0 0])) 402s assert (imdilate (zeros (3), se), [0 0 -Inf; 0 0 0; 0 0 0]) 402s assert (imdilate (false (3), se), false (3, 3)) 402s 402s se = [0 0 0; 0 0 0; 1 1 1]; 402s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; Inf Inf Inf]) 402s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 1 1 1])) 402s assert (imdilate (zeros (3, 3), se), [-Inf -Inf -Inf; 0 0 0; 0 0 0]) 402s assert (imdilate (false (3, 3), se), false (3, 3)) 402s ***** test # only true elements of even-sized SE are out-of-border 402s se = logical ([0 1; 1 1]); 402s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 0 0 1])) 402s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; 0 0 Inf]) 402s 402s assert (imdilate (false (3, 3), se), false (3, 3)) 402s assert (imdilate (zeros (3, 3), se), [-Inf 0 0; 0 0 0; 0 0 0]) 402s 19 tests, 19 passed, 0 known failure, 0 skipped 402s [src/__spatial_filtering__.cc] 402s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/__spatial_filtering__.cc 402s ***** error 402s __spatial_filtering__ (ones (10), ones (3), "std", ones (10), 0) 402s ***** error 402s __spatial_filtering__ (ones (10), ones (3), "std", ones (3, 3, 3), 0) 402s ***** error 402s __spatial_filtering__ (ones (10), ones (3), "std", ones (1, 9), 0) 402s ***** shared a, domain, s, out 402s a = [ 82 2 97 43 79 43 41 65 51 11 402s 60 65 21 56 94 77 36 38 75 39 402s 32 68 78 1 16 75 76 90 81 56 402s 43 90 82 41 36 1 87 19 18 63 402s 63 64 2 48 18 43 38 25 22 99 402s 12 46 90 79 3 92 39 79 10 22 402s 38 98 11 10 40 90 88 38 4 76 402s 54 37 9 4 33 98 36 47 53 57 402s 38 76 82 50 14 74 64 99 7 33 402s 88 96 41 62 84 89 97 23 41 3]; 402s 402s domain = ones (3); 402s s = zeros (3); 402s 402s out = [ 2 1 1 1 16 36 36 11 402s 21 1 1 1 1 1 18 18 402s 2 1 1 1 1 1 18 18 402s 2 2 2 1 1 1 10 10 402s 2 2 2 3 3 25 4 4 402s 9 4 3 3 3 36 4 4 402s 9 4 4 4 14 36 4 4 402s 9 4 4 4 14 23 7 3]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 402s 402s out = [ 97 97 97 94 94 90 90 90 402s 90 90 94 94 94 90 90 90 402s 90 90 82 75 87 90 90 99 402s 90 90 90 92 92 92 87 99 402s 98 98 90 92 92 92 88 99 402s 98 98 90 98 98 98 88 79 402s 98 98 82 98 98 99 99 99 402s 96 96 84 98 98 99 99 99]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 402s 402s out = [ 60 43 43 43 43 43 51 51 402s 60 56 36 36 36 38 38 39 402s 63 48 18 18 36 38 25 25 402s 46 48 36 36 36 38 22 22 402s 38 46 11 40 39 39 25 22 402s 37 11 10 33 39 47 38 38 402s 38 11 11 33 40 64 38 38 402s 41 41 33 50 64 64 41 33]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 402s 402s out = [ 31.223 33.788 35.561 31.011 26.096 20.630 20.403 24.712 402s 23.428 29.613 32.376 34.002 33.593 32.470 29.605 26.333 402s 27.834 32.890 29.903 24.207 30.083 32.497 31.898 32.600 402s 32.027 28.995 33.530 31.002 32.241 32.004 27.501 32.070 402s 34.682 36.030 33.046 33.745 32.509 27.352 28.607 34.180 402s 32.709 37.690 32.992 40.036 34.456 26.656 27.685 26.863 402s 30.971 36.227 25.775 34.873 29.917 25.269 32.292 30.410 402s 29.135 31.626 30.056 33.594 30.814 28.853 30.917 29.120]; 402s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 402s 402s out = [ 95 96 96 93 78 54 54 79 402s 69 89 93 93 93 89 72 72 402s 88 89 81 74 86 89 72 81 402s 88 88 88 91 91 91 77 89 402s 96 96 88 89 89 67 84 95 402s 89 94 87 95 95 62 84 75 402s 89 94 78 94 84 63 95 95 402s 87 92 80 94 84 76 92 96]; 402s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 402s 402s domain = [ 1 1 0 402s 0 1 1 402s 0 1 0]; 402s 402s out = [ 2 2 1 16 36 36 38 39 402s 60 1 1 16 1 36 19 18 402s 32 2 1 1 1 19 18 18 402s 2 2 18 3 1 1 19 10 402s 46 2 2 3 18 38 10 4 402s 11 9 4 3 3 36 4 4 402s 9 4 4 10 36 36 38 4 402s 37 9 4 4 33 36 7 7]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 402s 402s out = [ 82 97 97 94 79 76 90 81 402s 90 82 56 94 94 90 90 81 402s 90 82 78 36 87 87 90 90 402s 90 90 82 43 92 87 87 99 402s 98 90 79 92 92 88 79 25 402s 98 90 90 90 98 92 79 79 402s 98 98 50 98 98 90 99 57 402s 96 82 62 84 98 99 99 53]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 402s 402s out = [ 68 78 94 79 77 43 75 75 402s 78 78 41 75 77 87 81 75 402s 82 78 48 18 75 76 76 81 402s 64 90 79 41 43 39 79 22 402s 90 79 48 48 90 79 38 22 402s 46 46 79 79 92 88 47 76 402s 76 82 33 40 90 88 88 53 402s 82 50 50 74 89 98 47 47]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 402s 402s out = [ 34.2389 39.2772 39.6699 31.6812 20.7364 16.5439 22.2419 17.2395 402s 11.9248 36.3084 21.6217 30.8350 36.4047 21.6726 30.9144 26.1017 402s 22.2980 33.2746 27.5808 14.5017 36.8890 29.0259 34.6020 33.2521 402s 32.2490 37.9579 26.9685 17.1959 32.5346 31.3847 33.5976 36.8280 402s 21.3354 40.1833 34.0044 33.9882 32.9894 24.1102 25.6613 9.0995 402s 35.4641 35.3794 39.0871 35.4753 39.9775 28.7193 26.7451 35.6553 402s 35.2179 45.3398 19.3210 35.2987 28.4042 24.0832 26.8421 25.0539 402s 23.4307 26.2812 26.3287 35.6959 25.2646 28.1016 34.9829 17.9221]; 402s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 402s 402s out = [ 80 95 96 78 43 40 52 42 402s 30 81 55 78 93 54 71 63 402s 58 80 77 35 86 68 72 72 402s 88 88 64 40 91 86 68 89 402s 52 88 77 89 74 50 69 21 402s 87 81 86 87 95 56 75 75 402s 89 94 46 88 62 54 61 53 402s 59 73 58 80 65 63 92 46]; 402s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 402s 402s s = [ 1 -3 4 402s 6 -7 2 402s -1 3 -5]; 402s 402s out = [ -1 3 4 19 38 29 31 41 402s 61 3 -6 9 4 33 22 21 402s 33 5 -2 2 -6 21 12 11 402s 4 -5 20 6 -2 2 16 13 402s 39 -1 3 -4 19 32 12 3 402s 13 4 3 0 4 36 6 -3 402s 11 2 -3 11 38 29 35 1 402s 34 6 1 5 34 33 9 0]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 402s 402s out = [ 83 94 98 87 80 79 93 84 402s 93 85 53 91 95 92 83 74 402s 84 75 79 29 89 80 87 91 402s 87 93 83 45 95 84 88 101 402s 101 83 72 94 93 91 72 26 402s 91 87 91 92 101 93 76 80 402s 95 99 53 100 91 91 102 59 402s 99 75 65 87 95 101 92 50]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 402s 402s out = [ 71 81 96 79 78 44 77 68 402s 80 71 44 77 78 90 83 72 402s 83 75 51 21 72 76 77 78 402s 57 91 82 42 40 42 82 20 402s 92 81 45 49 85 81 41 24 402s 43 47 76 80 90 81 50 78 402s 79 85 35 37 87 85 89 46 402s 84 52 43 76 92 100 44 48]; 402s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 402s 402s out = [ 34.903 40.206 39.885 28.627 20.620 19.248 25.209 17.111 402s 14.536 35.865 23.221 32.230 34.903 23.923 28.879 22.621 402s 20.635 30.113 29.351 11.610 38.863 25.936 34.608 34.482 402s 29.811 40.998 28.279 17.897 34.666 29.978 36.150 38.213 402s 25.066 39.240 30.013 37.300 31.856 27.428 22.884 10.281 402s 31.890 34.761 39.645 37.526 39.336 27.031 25.648 39.285 402s 35.017 47.776 22.764 35.912 25.460 25.636 29.861 24.566 402s 25.213 25.000 26.391 38.451 24.631 31.305 31.118 20.611]; 402s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 402s 402s out = [ 84 91 94 68 42 50 62 43 402s 32 82 59 82 91 59 61 53 402s 51 70 81 27 95 59 75 80 402s 83 98 63 39 97 82 72 88 402s 62 84 69 98 74 59 60 23 402s 78 83 88 92 97 57 70 83 402s 84 97 56 89 53 62 67 58 402s 65 69 64 82 61 68 83 50]; 402s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 402s 18 tests, 18 passed, 0 known failure, 0 skipped 402s [src/watershed.cc] 402s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/watershed.cc 402s ***** test 402s ex = tril (ones (50), -1) + triu (repmat (2, [50 50]), 2); 402s ex(1, 1) = 1; 402s ex(end, end) = 1; 402s 402s in = ones (50); 402s in(end,1) = 0; 402s in(1,end) = 0; 402s assert (watershed (in), ex) 402s ***** test 402s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 402s ex(1, 1) = 1; 402s ex(end, end) = 1; 402s 402s in = ones (49); 402s in(end,1) = 0; 402s in(1,end) = 0; 402s assert (watershed (in), ex) 402s 402s c = (fspecial ('disk', 5) > 0) + 1; 402s in(20:30,20:30) = c; 402s c = (fspecial ('disk', 4) > 0) + 2; 402s in(21:29,21:29) = c; 402s assert (watershed (in), ex) 402s ***** test 402s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 402s ex(1:28,1:28) = (tril (ones (28) ,7) + triu (repmat (2, [28 28]), 10)); 402s ex(1,9) = 1; 402s ex(end,end) = 1; 402s ex(20:29, 29) = 0; 402s 402s in = ones (49); 402s in(end,1) = 0; 402s in(1,end) = 0; 402s c = (fspecial ("disk", 5) > 0) + 1; 402s in(1:11,38:48) = c; 402s 402s assert (watershed (in), ex) 402s ***** test 402s im = [ 402s 3 4 5 6 0 402s 2 3 4 5 6 402s 1 2 3 4 5 402s 0 1 2 3 4 402s 1 0 1 2 3]; 402s 402s labeled8 = [ 402s 1 1 1 0 2 402s 1 1 1 0 0 402s 1 1 1 1 1 402s 1 1 1 1 1 402s 1 1 1 1 1]; 402s labeled4 = [ 402s 1 1 1 0 3 402s 1 1 1 0 0 402s 1 1 0 2 2 402s 1 0 2 2 2 402s 0 2 2 2 2]; 402s labeled_weird = [ 402s 1 1 1 0 2 402s 1 1 1 1 0 402s 1 1 1 1 1 402s 1 1 1 1 1 402s 1 1 1 1 1]; 402s 402s assert (watershed (im), labeled8); 402s assert (watershed (im, 8), labeled8); 402s assert (watershed (im, 4), labeled4); 402s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 402s ***** test 402s im = [ 402s 2 3 30 2 402s 3 30 3 30 402s 255 31 30 4 402s 2 255 31 30 402s 1 2 255 5]; 402s 402s labeled4 = [ 402s 1 1 0 4 402s 1 0 3 0 402s 0 2 0 5 402s 2 2 2 0 402s 2 2 0 6]; 402s labeled_weird = [ 402s 1 1 0 3 402s 1 1 1 0 402s 0 1 1 1 402s 2 0 0 0 402s 2 2 0 4]; 402s 402s assert (watershed (im, 4), labeled4); 402s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 402s ***** xtest 402s ## The following test is required for Matlab compatibility. There must be 402s ## something specific about their implementation that causes it to return 402s ## this value. Even when solving it on paper, we get different results. 402s im = [ 402s 2 3 30 2 402s 3 30 3 30 402s 255 31 30 4 402s 2 255 31 30 402s 1 2 255 5]; 402s 402s labeled8 = [ 402s 1 1 0 3 402s 1 1 0 3 402s 0 0 0 0 402s 2 2 0 4 402s 2 2 0 4]; 402s assert (watershed (im), labeled8); 402s assert (watershed (im, 8), labeled8); 402s !!!!! known failure 402s ASSERT errors for: assert (watershed (im),labeled8) 402s 402s Location | Observed | Expected | Reason 402s (3,4) 3 0 Abs err 3 exceeds tol 0 by 3 402s (4,4) 0 4 Abs err 4 exceeds tol 0 by 4 402s ***** test 402s im = [ 402s 2 2 2 2 2 2 2 402s 2 2 30 30 30 2 2 402s 2 30 20 20 20 30 2 402s 40 40 20 20 20 40 40 402s 1 40 20 20 20 40 0 402s 1 1 40 20 40 0 0 402s 1 1 1 20 0 0 0]; 402s 402s labeled8 = [ 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 0 0 0 0 0 0 0 402s 2 2 2 0 3 3 3 402s 2 2 2 0 3 3 3 402s 2 2 2 0 3 3 3]; 402s labeled4 = [ 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 0 1 1 1 1 1 0 402s 2 0 1 1 1 0 3 402s 2 2 0 1 0 3 3 402s 2 2 2 0 3 3 3]; 402s labeled_weird = [ 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 402s 0 1 1 0 0 0 0 402s 2 0 0 0 3 3 3 402s 2 2 0 3 3 3 3 402s 2 2 2 0 3 3 3]; 402s 402s assert (watershed (im), labeled8); 402s assert (watershed (im, 8), labeled8); 402s assert (watershed (im, 4), labeled4); 402s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 402s ***** test 402s im = [ 402s 40 40 40 40 40 40 40 40 40 40 40 40 40 402s 40 3 3 5 5 5 10 10 10 10 15 20 40 402s 40 3 3 5 5 30 30 30 10 15 15 20 40 402s 40 3 3 5 30 20 20 20 30 15 15 20 40 402s 40 40 40 40 40 20 20 20 40 40 40 40 40 402s 40 10 10 10 40 20 20 20 40 10 10 10 40 402s 40 5 5 5 10 40 20 40 10 10 5 5 40 402s 40 1 3 5 10 15 20 15 10 5 1 0 40 402s 40 1 3 5 10 15 20 15 10 5 1 0 40 402s 40 40 40 40 40 40 40 40 40 40 40 40 40]; 402s 402s labeled8 = [ 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 0 0 0 0 0 0 0 0 0 0 0 0 0 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 402s labeled4 = [ 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 0 0 0 0 1 1 1 1 1 0 0 0 0 402s 2 2 2 2 0 1 1 1 0 3 3 3 3 402s 2 2 2 2 2 0 1 0 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 402s labeled_weird = [ 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 1 1 1 1 1 1 1 1 1 1 1 1 1 402s 0 0 0 0 1 1 0 0 0 0 0 0 0 402s 2 2 2 2 0 0 0 3 3 3 3 3 3 402s 2 2 2 2 2 0 3 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3 402s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 402s 402s assert (watershed (im), labeled8); 402s assert (watershed (im, 8), labeled8); 402s assert (watershed (im, 4), labeled4); 402s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 402s ***** xtest 402s ## This test is failing for Matlab compatibility 402s im_full = [ 402s 1 2 10 3 8 7 5 402s 3 2 5 10 8 1 4 402s 1 8 2 3 8 3 6]; 402s 402s matlab_result_full = [ 402s 1 1 0 3 0 4 4 402s 0 0 0 0 0 4 4 402s 2 2 2 0 4 4 4]; 402s 402s assert (watershed (im_full), matlab_result_full); 402s 402s im_crop = [ 402s 2 10 3 8 7 5 402s 2 5 10 8 1 4 402s 8 2 3 8 3 6]; 402s 402s matlab_result_crop = [ 402s 1 0 2 0 3 3 402s 1 0 0 0 3 3 402s 1 1 1 0 3 3]; 402s 402s assert (watershed (im_crop), matlab_result_crop); 402s !!!!! known failure 402s ASSERT errors for: assert (watershed (im_full),matlab_result_full) 402s 402s Location | Observed | Expected | Reason 402s (3,4) 2 0 Abs err 2 exceeds tol 0 by 2 402s (3,5) 0 4 Abs err 4 exceeds tol 0 by 4 402s 9 tests, 7 passed, 2 known failures, 0 skipped 402s [src/imreconstruct.cc] 402s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/imreconstruct.cc 402s ***** function recon = parallel_reconstruction (marker, mask, 402s conn = conndef (ndims (marker), "maximal")) 402s do 402s previous = marker; 402s marker = imdilate (marker, conn); 402s ## FIXME https://savannah.gnu.org/bugs/index.php?43712 402s if (strcmp (class (marker), "logical")) 402s marker = marker & mask; 402s else 402s marker = min (marker, mask); 402s endif 402s until (all ((marker == previous)(:))) 402s recon = marker; 402s ***** endfunction 402s ***** test 402s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 402s cl = cl{1}; 402s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 402s b = a + randi (20, 100, 100, cl); 402s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 402s endfor 402s for cl = {"double", "single"} 402s cl = cl{1}; 402s a = (rand (100, 100, cl) - 0.5) .* 1000; 402s b = a + rand (100, 100, cl) * 100; 402s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 402s endfor 402s ***** test 402s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 402s cl = cl{1}; 402s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 402s b = a + randi (20, 100, 100, cl); 402s c = [0 1 0; 1 1 1; 0 1 0]; 402s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 402s endfor 402s ***** test 402s a = randi (210, 100, 100); 402s b = a + randi (20, 100, 100); 402s c = ones (3, 1); 402s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 402s ***** test 402s a = randi (210, 500, 500, 10, 4); 402s b = a + randi (20, 500, 500, 10, 4); 402s c = ones (3, 3, 3); 402s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 425s ***** test 425s a = randi (210, 500, 500, 10, 4); 425s b = a + randi (20, 500, 500, 10, 4); 425s c = conndef (4, "minimal"); 425s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 436s ***** test 436s a = [ 0 0 0 0 0 0 0 1 0 0 436s 0 0 0 0 0 0 0 1 0 0 436s 1 0 0 0 0 0 0 0 0 0 436s 0 0 0 0 0 0 0 0 0 0 436s 0 0 0 0 0 0 0 1 0 0 436s 0 0 0 0 0 0 1 0 0 0 436s 0 0 0 0 0 0 0 0 0 0 436s 0 0 0 0 0 0 0 0 0 0 436s 0 0 0 0 1 0 0 0 0 0 436s 0 0 0 0 0 0 0 1 0 0]; 436s 436s b = [ 0 1 0 0 0 0 0 1 1 0 436s 1 1 0 0 0 1 0 1 1 0 436s 1 1 0 0 1 0 0 0 0 0 436s 1 1 0 0 0 1 1 0 0 0 436s 1 0 0 0 0 0 1 1 0 0 436s 0 1 0 0 0 0 1 1 0 0 436s 0 0 0 1 0 0 0 0 0 0 436s 0 0 0 0 1 1 0 0 0 0 436s 0 0 0 1 1 0 0 0 0 0 436s 1 0 0 0 1 0 0 1 0 1]; 436s 436s c = [ 0 1 0 0 0 0 0 1 1 0 436s 1 1 0 0 0 1 0 1 1 0 436s 1 1 0 0 1 0 0 0 0 0 436s 1 1 0 0 0 1 1 0 0 0 436s 1 0 0 0 0 0 1 1 0 0 436s 0 1 0 0 0 0 1 1 0 0 436s 0 0 0 1 0 0 0 0 0 0 436s 0 0 0 0 1 1 0 0 0 0 436s 0 0 0 1 1 0 0 0 0 0 436s 0 0 0 0 1 0 0 1 0 0]; 436s assert (imreconstruct (logical (a), logical (b)), logical (c)); 436s 436s c = [ 0 1 0 0 0 0 0 1 1 0 436s 1 1 0 0 0 0 0 1 1 0 436s 1 1 0 0 0 0 0 0 0 0 436s 1 1 0 0 0 1 1 0 0 0 436s 1 0 0 0 0 0 1 1 0 0 436s 0 0 0 0 0 0 1 1 0 0 436s 0 0 0 0 0 0 0 0 0 0 436s 0 0 0 0 1 1 0 0 0 0 436s 0 0 0 1 1 0 0 0 0 0 436s 0 0 0 0 1 0 0 1 0 0]; 436s assert (imreconstruct (logical (a), logical (b), [0 1 0; 1 1 1; 0 1 0]), 436s logical (c)); 436s ***** test 436s do 436s b = rand (100, 100, 100) > 0.98; 436s until (nnz (b) > 4) 436s b = imdilate (b, ones (5, 5, 5)); 436s a = false (size (b)); 436s f = find (b); 436s a(f(randi (numel (f), 6, 1))) = true; 436s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 437s ***** test 437s a = randi (200, 100,100, 10, 10); 437s b = a + randi (20, 100,100, 10, 10); 437s c1 = ones (3, 3, 3); 437s c2 = zeros (3, 3, 3, 3); 437s c2(:,:,:,2) = c1; 437s assert (imreconstruct (a, b, c1), imreconstruct (a, b, c2)) 437s ***** test 437s ## Values in MARKER above MASK should be clipped (bug #48794) 437s ## (well, treated internally as if they were clipped) 437s mask = logical ([1 1 1; 1 0 1; 1 1 1]); 437s assert (imreconstruct (true (3, 3), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (ones (5, 5), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 437s 437s marker = ones (3, 3, 3, 3); 437s mask = marker; 437s mask(2, 2, 2, 2) = 0; 437s assert (imreconstruct (marker, mask), mask) 437s 437s marker = randi (210, 100, 100); 437s assert (imreconstruct (marker +1, marker), marker) 437s assert (imreconstruct (marker +1, marker), imreconstruct (marker, marker)) 437s 9 tests, 9 passed, 0 known failure, 0 skipped 437s [src/bwconncomp.cc] 437s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/bwconncomp.cc 437s ***** test 437s a = rand (10) > 0.5; 437s cc = bwconncomp (a, 4); 437s assert (cc.Connectivity, 4) 437s assert (cc.ImageSize, [10 10]) 437s 437s b = false (10); 437s for i = 1:numel (cc.PixelIdxList) 437s b(cc.PixelIdxList{i}) = true; 437s endfor 437s assert (a, b) 437s ***** test 437s a = rand (10, 13) > 0.5; 437s cc = bwconncomp (a, 4); 437s assert (cc.ImageSize, [10 13]) 437s 437s b = false (10, 13); 437s for i = 1:numel (cc.PixelIdxList) 437s b(cc.PixelIdxList{i}) = true; 437s endfor 438s assert (a, b) 438s ***** test 438s a = rand (15) > 0.5; 438s conn_8 = bwconncomp (a, 8); 438s assert (conn_8, bwconncomp (a)) 438s assert (conn_8, bwconncomp (a, ones (3))) 438s assert (conn_8.Connectivity, 8) 438s assert (bwconncomp (a, ones (3)).Connectivity, 8) 438s assert (bwconncomp (a, [0 1 0; 1 1 1; 0 1 0]).Connectivity, 4) 438s ***** test 438s bw = logical ([ 438s 1 0 0 1 0 1 0 438s 1 0 0 1 0 1 0 438s 0 0 0 0 0 1 0 438s 0 0 0 0 1 0 0 438s 1 1 0 1 1 0 0 438s 0 1 0 0 0 0 0 438s 1 1 0 0 0 0 0 438s ]); 438s cc = bwconncomp (bw); 438s cc = struct (); 438s cc.Connectivity = 8; 438s cc.ImageSize = [7 7]; 438s cc.NumObjects = 4; 438s ## The commented line has the results from Matlab. We return the 438s ## same result but in a slightly different order. Since the order 438s ## is not defined, it is not required for compatibility. 438s #cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 438s cc.PixelIdxList = {[1;2], [5;12;13;7;14], [22;23], [26;32;33;38;37;36]}; 438s assert (bwconncomp (bw), cc) 438s ***** test 438s ## test that PixelIdxList is a row vector 438s a = rand (40, 40) > 0.2; 438s cc = bwconncomp (a, 4); 438s assert (rows (cc.PixelIdxList), 1) 438s assert (columns (cc.PixelIdxList), cc.NumObjects) 438s ***** assert (bwconncomp (false (5)), struct ("ImageSize", [5 5], "NumObjects", 0, 438s "PixelIdxList", {cell(1, 0)}, 438s "Connectivity", 8)) 438s ***** test 438s in = [ 0 0 1 0 0 1 0 1 0 0 438s 0 0 1 0 0 0 0 0 1 1 438s 1 0 0 0 0 1 1 0 0 0 438s 1 0 0 0 1 0 0 0 0 0 438s 1 1 1 1 0 0 0 0 0 1 438s 0 1 0 1 1 0 0 1 0 0 438s 1 0 0 0 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 1 0 0 438s 0 1 0 1 1 0 0 1 1 0 438s 0 1 0 1 1 1 0 0 1 0]; 438s assert (bwareaopen (in, 1, 4), logical (in)) 438s 438s out = [0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0 0 438s 1 1 1 1 0 0 0 0 0 0 438s 0 1 0 1 1 0 0 0 0 0 438s 0 0 0 0 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 0 0 0 438s 0 0 0 1 1 1 0 0 0 0]; 438s assert (bwareaopen (logical (in), 10, 4), logical (out)) 438s assert (bwareaopen (in, 10, 4), logical (out)) 438s assert (bwareaopen (in, 10, [0 1 0; 1 1 1; 0 1 0]), logical (out)) 438s 438s out = [0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 1 1 0 0 0 438s 1 0 0 0 1 0 0 0 0 0 438s 1 1 1 1 0 0 0 0 0 0 438s 0 1 0 1 1 0 0 0 0 0 438s 1 0 0 0 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 0 0 0 438s 0 0 0 1 1 1 0 0 0 0]; 438s assert (bwareaopen (in, 10, 8), logical (out)) 438s assert (bwareaopen (in, 10, ones (3)), logical (out)) 438s assert (bwareaopen (in, 10), logical (out)) 438s 438s out = [0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0 0 438s 1 1 1 1 0 0 0 0 0 0 438s 0 1 0 1 1 0 0 0 0 0 438s 0 0 0 0 1 0 0 0 0 0 438s 0 0 0 1 1 0 0 1 0 0 438s 0 0 0 1 1 0 0 1 1 0 438s 0 0 0 1 1 1 0 0 1 0]; 438s assert (bwareaopen (in, 4, [1 1 0; 1 1 1; 0 1 1]), logical (out)) 438s ***** error bwareaopen ("not an image", 78, 8) 438s ***** error bwareaopen (rand (10) > 0.5, 10, 100) 438s ***** error bwareaopen (rand (10) > 0.5, 10, "maximal") 438s ***** error bwareaopen (rand (10) > 0.5, 10, [1 1 1; 0 1 1; 0 1 0]) 438s 11 tests, 11 passed, 0 known failure, 0 skipped 438s [src/bwdist.cc] 438s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/bwdist.cc 438s ***** shared bw 438s 438s bw = [0 1 0 1 0 1 1 0 438s 0 0 0 1 1 0 0 0 438s 0 0 0 1 1 0 0 0 438s 0 0 0 1 1 0 0 0 438s 0 0 1 1 1 1 1 1 438s 1 1 1 1 0 0 0 1 438s 1 1 1 0 0 0 1 0 438s 0 0 1 0 0 0 1 1]; 438s ***** test 438s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 438s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 438s 2.23607 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 438s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 438s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 438s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 438s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 438s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 438s out = single (out); 438s 438s assert (bwdist (bw), out, 0.0001); # default is euclidean 438s assert (bwdist (bw, "euclidean"), out, 0.0001); 438s assert (bwdist (logical (bw), "euclidean"), out, 0.0001); 438s ***** test 438s out = [ 1 0 1 0 1 0 0 1 438s 1 1 1 0 0 1 1 1 438s 2 2 1 0 0 1 2 2 438s 2 1 1 0 0 1 1 1 438s 1 1 0 0 0 0 0 0 438s 0 0 0 0 1 1 1 0 438s 0 0 0 1 1 1 0 1 438s 1 1 0 1 2 1 0 0]; 438s out = single (out); 438s 438s assert (bwdist (bw, "chessboard"), out); 438s ***** test 438s out = [ 1 0 1 0 1 0 0 1 438s 2 1 1 0 0 1 1 2 438s 3 2 1 0 0 1 2 2 438s 2 2 1 0 0 1 1 1 438s 1 1 0 0 0 0 0 0 438s 0 0 0 0 1 1 1 0 438s 0 0 0 1 2 1 0 1 438s 1 1 0 1 2 1 0 0]; 438s out = single (out); 438s 438s assert (bwdist (bw, "cityblock"), out); 438s ***** test 438s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 438s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 438s 2.41421 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 438s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 438s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 438s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 438s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 438s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 438s out = single (out); 438s 438s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 438s 438s bw(logical (bw)) = 3; # there is no actual check if matrix is binary or 0 and 1 438s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 438s 438s bw(logical (bw)) = -2; # anything non-zero is considered object 438s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 438s ***** test 438s bw = [ 1 1 1 1 0 1 1 1 1 438s 1 1 1 1 0 1 1 1 1 438s 1 1 0 1 1 1 1 1 1 438s 0 1 1 1 1 1 1 1 1]; 438s 438s dist = [ 0 0 0 0 1 0 0 0 0 438s 0 0 0 0 1 0 0 0 0 438s 0 0 1 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0]; 438s dist = single (dist); 438s 438s c = [ 1 5 9 13 13 21 25 29 33 438s 2 6 10 14 14 22 26 30 34 438s 3 7 10 15 19 23 27 31 35 438s 8 8 12 16 20 24 28 32 36]; 438s c = uint32 (c); 438s 438s [dout, cout] = bwdist (bw, "euclidean"); 438s assert (dout, dist) 438s assert (cout, c) 438s ***** test 438s bw = [ 0 1 1 0 0 0 1 0 438s 0 0 0 0 0 0 0 0 438s 1 1 0 0 0 0 0 0 438s 0 0 0 0 0 0 1 0 438s 0 0 0 0 1 0 0 1 438s 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 438s 0 0 1 0 0 1 1 0]; 438s out = single ([ 438s 1.00000 0.00000 0.00000 1.00000 2.00000 1.00000 0.00000 1.00000 438s 1.00000 1.00000 1.00000 sqrt(2) sqrt(2)+1 sqrt(2) 1.00000 sqrt(2) 438s 0.00000 0.00000 1.00000 2.00000 2.00000 sqrt(2) 1.00000 sqrt(2) 438s 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 0.00000 1.00000 438s 2.00000 2.00000 2.00000 1.00000 0.00000 1.00000 1.00000 0.00000 438s 1.00000 sqrt(2) 2.00000 sqrt(2) 1.00000 sqrt(2) sqrt(2) 1.00000 438s 0.00000 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 sqrt(2) 438s 1.00000 1.00000 0.00000 1.00000 1.00000 0.00000 0.00000 1.00000 438s ]); 438s assert (bwdist (bw, "quasi-euclidean"), out); 438s ***** error bwdist (bw, "not a valid method"); 438s ***** test 438s ## Special case of there being no foreground element (bug #50874) 438s expected_dist = single (Inf (2, 2)); 438s expected_idx = uint32 ([0 0; 0 0]); 438s 438s [dist, idx] = bwdist (false (2, 2)); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s 438s [dist, idx] = bwdist (zeros (2, 2)); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s ***** test 438s ## Special case of 1D input (bug #50874) 438s assert (bwdist ([1 0]), single ([0 1])) 438s assert (bwdist ([1 0]'), single ([0 1]')) 438s assert (bwdist ([0 1 0 0 0 0 1 1]), single ([1 0 1 2 2 1 0 0])) 438s assert (bwdist ([1 1 0 0 0 0 1 1]'), single ([0 0 1 2 2 1 0 0])') 438s assert (bwdist ([1 0], "euclidean"), single ([0 1])) 438s assert (bwdist ([1 0], "chessboard"), single ([0 1])) 438s assert (bwdist ([1 0], "cityblock"), single ([0 1])) 438s assert (bwdist ([1 0], "quasi-euclidean"), single ([0 1])) 438s ***** test 438s ## test 1D input with 2nd output argument (indices) (bug #50874) 438s expected_dist = single ([1 0 1]); 438s expected_idx = uint32 ([2 2 2]); 438s 438s [dist, idx] = bwdist ([0 1 0]); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s 438s [dist, idx] = bwdist ([0 1 0]'); 438s assert (dist, expected_dist') 438s assert (idx, expected_idx') 438s 438s expected_dist = single ([0 0 1 0 0]); 438s expected_idx = uint32 ([1 2 2 4 5]); 438s [dist, idx] = bwdist ([1 1 0 1 1]); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s 438s expected_dist = single ([1 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 3 4]); 438s expected_idx = uint32 ([2 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 14 14]); 438s [dist, idx] = bwdist ([0 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0]); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s 438s expected_dist = single ([0 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 1 0]); 438s expected_idx = uint32 ([1 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 18 18]); 438s [dist, idx] = bwdist ([1 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 1]); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s ***** test 438s assert (bwdist ([0 0]), single ([Inf, Inf])) 438s assert (bwdist ([0 0]'), single ([Inf, Inf]')) 438s ***** xtest 438s ## This is Matlab incompatible because the bottom right corners is 438s ## equally distant to the top right and bottom left corners. However, 438s ## both are correct answers, and the returned value is just 438s ## implementation dependent. 438s bw = logical ([ 438s 0 0 1 438s 0 0 0 438s 1 0 0 438s ]); 438s expected_dist = single ([ 438s 2.0 1.0 0.0 438s 1.0 sqrt(2) 1.0 438s 0.0 1.0 2.0 438s ]); 438s expected_idx = uint32 ([ 438s 3 7 7 438s 3 3 7 438s 3 3 3 438s ]); 438s [dist, idx] = bwdist (bw); 438s assert (dist, expected_dist) 438s assert (idx, expected_idx) 438s !!!!! known failure 438s ASSERT errors for: assert (idx,expected_idx) 438s 438s Location | Observed | Expected | Reason 438s (3,3) 7 3 Abs err 4 exceeds tol 0 by 4 438s 12 tests, 11 passed, 1 known failure, 0 skipped 438s [src/bwlabeln.cc] 438s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/bwlabeln.cc 438s ***** shared a2d, a3d 438s a2d = [1 0 0 0 0 0 1 0 0 1 438s 1 0 0 1 0 1 0 1 0 1 438s 1 0 1 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 1 0 0 0 0 0 0 0 0 438s 1 1 0 1 1 1 0 0 0 0 438s 1 1 0 1 0 0 0 1 0 0 438s 1 1 0 0 0 0 1 0 1 0 438s 1 1 0 0 0 0 0 0 0 0 438s 1 1 0 0 0 1 1 0 0 1]; 438s 438s a3d = a2d; 438s a3d(:,:,2) = [ 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 1 1 0 0 1 0 0 438s 0 0 0 1 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 1 0 0 0 0 0 0 0 0 438s 1 1 0 0 1 1 0 0 0 0 438s 1 1 0 1 0 0 0 0 0 0 438s 1 0 0 0 0 0 1 0 0 0 438s 0 1 0 0 0 0 0 0 0 1 438s 1 1 0 0 0 0 1 0 0 0]; 438s 438s a3d(:,:,3) = [ 438s 1 0 0 0 0 0 0 0 0 0 438s 0 1 0 1 1 0 0 1 0 0 438s 0 0 0 1 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 1 1 1 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 0 0 0 0 0 0 0 438s 1 1 0 0 0 0 0 0 0 1 438s 1 1 0 0 0 0 0 0 0 0]; 438s ***** test 438s label2dc4 = [ 438s 1 0 0 0 0 0 8 0 0 13 438s 1 0 0 4 0 6 0 10 0 13 438s 1 0 3 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 5 5 5 0 0 0 0 438s 2 2 0 5 0 0 0 11 0 0 438s 2 2 0 0 0 0 9 0 12 0 438s 2 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 7 7 0 0 14]; 438s assert (bwlabeln (a2d, 4), label2dc4) 438s assert (bwlabeln (a2d, [0 1 0; 1 1 1; 0 1 0]), label2dc4) 438s assert (bwlabeln (a2d, conndef (2, "minimal")), label2dc4) 438s assert (bwlabeln (a2d, conndef (3, "minimal")), label2dc4) 438s ***** test 438s label2dc8 = [ 438s 1 0 0 0 0 0 5 0 0 8 438s 1 0 0 3 0 5 0 5 0 8 438s 1 0 3 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 4 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 7 0 0 438s 2 2 0 0 0 0 7 0 7 0 438s 2 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 6 6 0 0 9]; 438s assert (bwlabeln (a2d, 8), label2dc8) 438s assert (bwlabeln (a2d, ones (3)), label2dc8) 438s assert (bwlabeln (a2d, conndef (2, "maximal")), label2dc8) 438s assert (bwlabeln (a2d, conndef (3, "maximal")), label2dc8) 438s ***** test 438s label3dc8 = [ 438s 1 0 0 0 0 0 5 0 0 8 438s 1 0 0 3 0 5 0 5 0 8 438s 1 0 3 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 4 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 7 0 0 438s 2 2 0 0 0 0 7 0 7 0 438s 2 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 6 6 0 0 9]; 438s label3dc8(:,:,2) = [ 438s 0 0 0 0 0 0 0 0 0 0 438s 10 0 0 12 12 0 0 16 0 0 438s 0 0 0 12 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 11 0 0 0 0 0 0 0 0 438s 11 11 0 0 13 13 0 0 0 0 438s 11 11 0 13 0 0 0 0 0 0 438s 11 0 0 0 0 0 14 0 0 0 438s 0 11 0 0 0 0 0 0 0 17 438s 11 11 0 0 0 0 15 0 0 0]; 438s label3dc8(:,:,3) = [ 438s 18 0 0 0 0 0 0 0 0 0 438s 0 18 0 20 20 0 0 22 0 0 438s 0 0 0 20 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 21 21 21 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 19 0 0 0 0 0 0 0 0 0 438s 19 19 0 0 0 0 0 0 0 23 438s 19 19 0 0 0 0 0 0 0 0]; 438s assert (bwlabeln (a3d, 8), label3dc8) 438s assert (bwlabeln (a3d, ones (3, 3)), label3dc8) 438s assert (bwlabeln (a3d, conndef (2, "maximal")), label3dc8) 438s ***** test 438s label3dc26 = [ 438s 1 0 0 0 0 0 3 0 0 7 438s 1 0 0 3 0 3 0 3 0 7 438s 1 0 3 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 4 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 6 0 0 438s 2 2 0 0 0 0 6 0 6 0 438s 2 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 5 5 0 0 6]; 438s label3dc26(:,:,2) = [ 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 3 3 0 0 3 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 0 0 0 438s 2 0 0 0 0 0 6 0 0 0 438s 0 2 0 0 0 0 0 0 0 6 438s 2 2 0 0 0 0 5 0 0 0]; 438s label3dc26(:,:,3) = [ 438s 1 0 0 0 0 0 0 0 0 0 438s 0 1 0 3 3 0 0 3 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 4 4 4 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 2 0 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 0 0 0 0 6 438s 2 2 0 0 0 0 0 0 0 0]; 438s assert (bwlabeln (a3d, 26), label3dc26) 438s assert (bwlabeln (a3d, ones (3, 3, 3)), label3dc26) 438s assert (bwlabeln (a3d, conndef (3, "maximal")), label3dc26) 438s ***** test 438s label3dc18 = [ 438s 1 0 0 0 0 0 3 0 0 7 438s 1 0 0 3 0 3 0 3 0 7 438s 1 0 3 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 4 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 6 0 0 438s 2 2 0 0 0 0 6 0 6 0 438s 2 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 5 5 0 0 8]; 438s label3dc18(:,:,2) = [ 438s 0 0 0 0 0 0 0 0 0 0 438s 1 0 0 3 3 0 0 3 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 2 0 0 0 0 0 0 0 0 438s 2 2 0 0 4 4 0 0 0 0 438s 2 2 0 4 0 0 0 0 0 0 438s 2 0 0 0 0 0 6 0 0 0 438s 0 2 0 0 0 0 0 0 0 8 438s 2 2 0 0 0 0 5 0 0 0]; 438s label3dc18(:,:,3) = [ 438s 1 0 0 0 0 0 0 0 0 0 438s 0 1 0 3 3 0 0 3 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 4 4 4 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 2 0 0 0 0 0 0 0 0 0 438s 2 2 0 0 0 0 0 0 0 8 438s 2 2 0 0 0 0 0 0 0 0]; 438s assert (bwlabeln (a3d, 18), label3dc18) 438s ***** test 438s label2dc3 = [ 438s 1 0 0 0 0 0 11 0 0 17 438s 1 0 0 5 0 8 0 14 0 17 438s 1 0 4 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 3 0 0 0 0 0 0 0 0 438s 2 3 0 6 7 9 0 0 0 0 438s 2 3 0 6 0 0 0 15 0 0 438s 2 3 0 0 0 0 12 0 16 0 438s 2 3 0 0 0 0 0 0 0 0 438s 2 3 0 0 0 10 13 0 0 18]; 438s assert (bwlabeln (a2d, [1 1 1]'), label2dc3) 438s 438s label3dc3 = label2dc3; 438s label3dc3(:,:,2) = [ 438s 0 0 0 0 0 0 0 0 0 0 438s 19 0 0 24 26 0 0 31 0 0 438s 0 0 0 24 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 22 0 0 0 0 0 0 0 0 438s 20 22 0 0 27 28 0 0 0 0 438s 20 22 0 25 0 0 0 0 0 0 438s 20 0 0 0 0 0 29 0 0 0 438s 0 23 0 0 0 0 0 0 0 32 438s 21 23 0 0 0 0 30 0 0 0]; 438s label3dc3(:,:,3) = [ 438s 33 0 0 0 0 0 0 0 0 0 438s 0 35 0 37 39 0 0 42 0 0 438s 0 0 0 37 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 38 40 41 0 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 34 0 0 0 0 0 0 0 0 0 438s 34 36 0 0 0 0 0 0 0 43 438s 34 36 0 0 0 0 0 0 0 0]; 438s assert (bwlabeln (a3d, [1 1 1]'), label3dc3) 438s ***** test 438s label2dc1 = zeros (size (a2d)); 438s label2dc1(a2d != 0) = 1:nnz (a2d); 438s assert (bwlabeln (a2d, [1]), label2dc1); 438s assert (bwlabeln (a2d, [0 1 0]'), label2dc1); 438s 438s label3dc1 = zeros (size (a3d)); 438s label3dc1(a3d != 0) = 1:nnz (a3d); 438s assert (bwlabeln (a3d, [1]), label3dc1); 438s assert (bwlabeln (a3d, [0 1 0]'), label3dc1); 438s ***** shared in 438s in = rand (10) > 0.8; 438s ***** assert (bwlabel (in, 4), bwlabeln (in, 4)); 438s ***** assert (bwlabel (in, 4), bwlabeln (in, [0 1 0; 1 1 1; 0 1 0])); 438s ***** assert (bwlabel (in, 8), bwlabeln (in, 8)); 438s ***** assert (bwlabel (in, 8), bwlabeln (in, [1 1 1; 1 1 1; 1 1 1])); 438s ***** assert (bwlabel (logical ([0 1 0; 0 0 0; 1 0 1])), [0 2 0; 0 0 0; 1 0 3]); 438s ***** assert (bwlabel ([0 1 0; 0 0 0; 1 0 1]), [0 2 0; 0 0 0; 1 0 3]); 438s ***** assert (bwlabel ([0 -1 0; 0 0 0; 5 0 0.2]), [0 2 0; 0 0 0; 1 0 3]); 438s ***** shared in, out 438s 438s in = [ 0 1 1 0 0 1 0 0 0 0 438s 0 0 0 1 0 0 0 0 0 1 438s 0 1 1 0 0 0 0 0 1 1 438s 1 0 0 0 0 0 0 1 0 0 438s 0 0 0 0 0 1 1 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 1 0 0 0 0 0 0 438s 0 0 0 0 1 1 0 1 0 0 438s 0 0 0 1 0 1 0 1 0 1 438s 1 1 0 0 0 0 0 1 1 0]; 438s 438s out = [ 0 3 3 0 0 9 0 0 0 0 438s 0 0 0 5 0 0 0 0 0 13 438s 0 4 4 0 0 0 0 0 13 13 438s 1 0 0 0 0 0 0 11 0 0 438s 0 0 0 0 0 10 10 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 6 0 0 0 0 0 0 438s 0 0 0 0 8 8 0 12 0 0 438s 0 0 0 7 0 8 0 12 0 14 438s 2 2 0 0 0 0 0 12 12 0]; 438s ***** assert (nthargout ([1 2], @bwlabel, in, 4), {out, 14}); 438s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 4), {out, 14}); 438s 438s out = [ 0 3 3 0 0 7 0 0 0 0 438s 0 0 0 3 0 0 0 0 0 11 438s 0 4 4 0 0 0 0 0 11 11 438s 1 0 0 0 0 0 0 9 0 0 438s 0 0 0 0 0 8 8 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 5 0 0 0 0 0 0 438s 0 0 0 0 5 5 0 10 0 0 438s 0 0 0 6 0 5 0 10 0 12 438s 2 2 0 0 0 0 0 10 10 0]; 438s ***** assert (nthargout ([1 2], @bwlabel, in, 6), {out, 12}); 438s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 6), {out, 12}); 438s 438s ## The labeled image is not the same as Matlab, but they are 438s ## labeled correctly. Do we really need to get them properly 438s ## ordered? (the algorithm in bwlabeln does it) 438s mout = [0 1 1 0 0 4 0 0 0 0 438s 0 0 0 1 0 0 0 0 0 5 438s 0 1 1 0 0 0 0 0 5 5 438s 1 0 0 0 0 0 0 5 0 0 438s 0 0 0 0 0 5 5 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 3 3 0 6 0 0 438s 0 0 0 3 0 3 0 6 0 6 438s 2 2 0 0 0 0 0 6 6 0]; 438s 438s out = [ 0 2 2 0 0 4 0 0 0 0 438s 0 0 0 2 0 0 0 0 0 5 438s 0 2 2 0 0 0 0 0 5 5 438s 2 0 0 0 0 0 0 5 0 0 438s 0 0 0 0 0 5 5 0 0 0 438s 0 0 0 0 0 0 0 0 0 0 438s 0 0 0 3 0 0 0 0 0 0 438s 0 0 0 0 3 3 0 6 0 0 438s 0 0 0 3 0 3 0 6 0 6 438s 1 1 0 0 0 0 0 6 6 0]; 438s ***** assert (nthargout ([1 2], @bwlabel, in, 8), {out, 6}); 438s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 8), {out, 6}); 438s 438s ***** error bwlabel (rand (10, 10, 10) > 0.8, 4) 438s ***** error bwlabel (rand (10) > 0.8, "text") 438s ***** error bwlabel ("text", 6) 438s 23 tests, 23 passed, 0 known failure, 0 skipped 438s [src/hough_line.cc] 438s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/hough_line.cc 438s ***** test 438s I = zeros(100, 100); 438s I(1,1) = 1; I(100,100) = 1; I(1,100) = 1; I(100, 1) = 1; I(50,50) = 1; 438s [J, R] = houghtf(I); J = J / max(J(:)); 438s assert(size(J) == [length(R) 181]); 438s 438s ***** demo 438s I = zeros(100, 150); 438s I(30,:) = 1; I(:, 65) = 1; I(35:45, 35:50) = 1; 438s for i = 1:90, I(i,i) = 1;endfor 438s I = imnoise(I, 'salt & pepper'); 438s imshow(I); 438s J = houghtf(I); J = J / max(J(:)); 438s imshow(J); 438s 1 test, 1 passed, 0 known failure, 0 skipped 438s [src/bwfill.cc] 438s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/bwfill.cc 438s ***** test 438s 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]; 438s R4 = logical(ones(5)); 438s 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]); 438s assert (bwfill (A,1,1,4), R4) 438s assert (bwfill (A,1,1,8), R8) 438s assert (bwfill (A,1,1), R8) 438s 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]); 438s assert (bwfill (A,3,3,4), B) 438s assert (bwfill (A,3,3,8), B) 438s assert (bwfill (A,3,3), B) 438s 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]); 438s assert (bwfill (A,3,1,8), C) 438s assert (bwfill (A,3,1,4), R4) 438s assert (bwfill (A, [3 1], [1 3], 4), R4); 438s 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]); 438s assert (bwfill (A, [3 1], [1 3], 8), D); 438s assert (bwfill (A, [3 1], [1 3]), D); 438s 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]); 438s assert (bwfill (A, "holes", 4), E); 438s 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]); 438s assert (bwfill (A, "holes", 8), F); 438s assert (bwfill (A, "holes"), F); 438s ***** error id=Octave:invalid-fun-call bwfill () 438s ***** error id=Octave:invalid-fun-call bwfill ("aaa") 438s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5) 438s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2) 438s ***** error bwfill (rand (5) > 0.5, "holes", 1) 438s ***** error bwfill (rand (5) > 0.5, 2, 2, 5) 438s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "xxx") 438s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2, 2, 4, 5) 439s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "holes", 4, 2) 439s 10 tests, 10 passed, 0 known failure, 0 skipped 439s [src/graycomatrix.cc] 439s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/graycomatrix.cc 439s ***** shared a 439s ***** test 439s a = [0 0 0 1 2; 439s 1 1 0 1 1; 439s 2 2 1 0 0; 439s 1 1 0 2 0; 439s 0 0 1 0 1]; 439s squeeze(graycomatrix(a, 3, 1, -pi/4)) == [4 2 0; 439s 2 3 2; 439s 1 2 0]; 439s 439s ***** assert(size(graycomatrix(a, 3, 1:5, [0:3]*-pi/4)), [3, 3, 5, 4]) 439s ***** demo 439s 439s # Pattern Recognition Engineering (Nadler & Smith) 439s # Digital Image Processing (Gonzales & Woods), p. 668 439s 439s a = [0 0 0 1 2; 439s 1 1 0 1 1; 439s 2 2 1 0 0; 439s 1 1 0 2 0; 439s 0 0 1 0 1]; 439s 439s graycomatrix(a, 3, 1, [0 1]*-pi/4) 439s 439s 2 tests, 2 passed, 0 known failure, 0 skipped 439s [src/intlut.cc] 439s >>>>> /tmp/autopkgtest.9NXjyD/build.eUA/src/src/intlut.cc 439s ***** assert (intlut (uint8 (1:4), uint8 ( 255:-1:0)), uint8 (254:-1:251)); 439s ***** assert (intlut (uint16 (1:4), uint16 (65535:-1:0)), uint16 (65534:-1:65531)); 439s ***** assert (intlut (int16 (1:4), int16 (32767:-1:-32768)), int16 (-2:-1:-5)); 439s ***** assert (intlut (uint8 (255), uint8 (0:255)), uint8 (255)); 439s ***** assert (intlut (uint16 (65535), uint16 (0:65535)), uint16 (65535)); 439s ***** assert (intlut (int16 (32767), int16 (-32768:32767)), int16 (32767)); 439s ***** error intlut () 439s ***** error intlut ("text") 439s ***** error intlut (1:20, uint8 (0:255)); 439s ***** error intlut (uint16 (1:20), uint8 (0:255)); 439s ***** error intlut (uint8 (1:20), uint8 (0:200)); 439s ***** error intlut (uint16 (1:20), uint16 (0:500)); 439s ***** error intlut (uint8 (56), uint8 (magic (16) -1)) 439s 13 tests, 13 passed, 0 known failure, 0 skipped 439s Done running the unit tests. 439s Summary: 2033 tests, 1993 passed, 40 known failures, 0 skipped 439s autopkgtest [20:38:59]: test command1: -----------------------] 440s autopkgtest [20:39:00]: test command1: - - - - - - - - - - results - - - - - - - - - - 440s command1 PASS 441s autopkgtest [20:39:01]: @@@@@@@@@@@@@@@@@@@@ summary 441s command1 PASS 454s Creating nova instance adt-noble-s390x-octave-image-20240327-203139-juju-7f2275-prod-proposed-migration-environment-3-7683b937-8e22-4fc1-9fdc-6296b8df323e from image adt/ubuntu-noble-s390x-server-20240327.img (UUID 4dc0c4c2-a3ae-40cd-8411-e7fc228c10ae)...