{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "6e82da1d", "metadata": {}, "outputs": [], "source": [ "from __future__ import print_function\n", "from ipywidgets import interact, interactive, fixed, interact_manual\n", "import ipywidgets as widgets\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "%matplotlib notebook\n", "\n", "\n", "\n", "import os as os\n", "\n", "import matplotlib.pyplot as plt\n", "\n", "def imshow(img, cmap=None):\n", " plt.close('all')\n", " plt.figure()\n", " plt.imshow(img, cmap=cmap)\n", " plt.show()" ] }, { "cell_type": "code", "execution_count": 2, "id": "38546b5e", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "C:\\Users\\meyjoh\\repos\\vlcompimg\\compimg\\lib\\site-packages\\scipy\\__init__.py:138: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.4)\n", " warnings.warn(f\"A NumPy version >={np_minversion} and <{np_maxversion} is required for this version of \"\n" ] } ], "source": [ "import scipy.ndimage as ndimage\n", "from scipy import misc\n", "from __future__ import print_function\n", "from ipywidgets import interact, interactive, fixed, interact_manual\n", "import ipywidgets as widgets\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import cv2\n", "import scipy.signal as sig\n", "from scipy.integrate import simpson\n", "from IPython.display import SVG, display, IFrame, HTML\n", "%matplotlib notebook" ] }, { "cell_type": "markdown", "id": "86d891d1", "metadata": { "toc": true }, "source": [ "