This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
import matplotlib.pyplot as plt | |
from matplotlib.backends.backend_qt5agg import FigureCanvas | |
from skimage import measure | |
from skimage import io | |
import numpy as np | |
import os | |
import napari | |
#%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from matplotlib.backends.backend_qt5agg import FigureCanvas | |
from skimage import measure | |
import numpy as np | |
import napari | |
def profile_line(viewer): | |
def get_image_layer(): | |
for layer in viewer.layers.selection: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
from aicsimageio import AICSImage | |
import napari | |
import dask.array as da | |
import numpy as np | |
from vispy.color import Colormap | |
import os | |
from qtpy.QtWidgets import QListWidget | |
from qtpy.QtCore import Qt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# %% | |
import napari | |
from skimage import data | |
# %% | |
viewer = napari.Viewer() | |
image = viewer.add_image(data.astronaut(), rgb=True) | |
image.data.shape | |
# %% | |
viewer.camera.zoom = 2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skimage version 0.20.0.dev0 | |
==================================== ERRORS ==================================== | |
_ ERROR collecting miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/tests/test_basic_features.py _ | |
ImportError while importing test module '/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/tests/test_basic_features.py'. | |
Hint: make sure your test modules/packages have valid Python names. | |
Traceback: | |
miniforge3/envs/test-scik/lib/python3.9/importlib/__init__.py:127: in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/__init__.py:4: in <module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================ warnings summary ================================ | |
miniforge3/envs/test-scik/lib/python3.9/importlib/__init__.py:127 | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.9/importlib/__init__.py:127: UserWarning: Viewer requires Qt | |
return _bootstrap._gcd_import(name[level:], package, level) | |
miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_null_matrix | |
miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_linearity | |
miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_cropped_camera_image | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/_shared/utils.py:214: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. | |
return func(*args, **kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skimage version 0.19.0 | |
==================================== ERRORS ==================================== | |
_ ERROR collecting Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/tests/test_basic_features.py _ | |
ImportError while importing test module '/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/tests/test_basic_features.py'. | |
Hint: make sure your test modules/packages have valid Python names. | |
Traceback: | |
Dev/miniforge3/envs/test-scik/lib/python3.9/importlib/__init__.py:127: in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/feature/__init__.py:4: in <module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================= test session starts ============================== | |
platform darwin -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 | |
rootdir: /Users/piotrsobolewski | |
plugins: localserver-0.5.1 | |
collected 6245 items / 3 skipped / 6242 selected | |
Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/_shared/tests/test_coord.py . [ 0%] | |
......................................... [ 0%] | |
Dev/miniforge3/envs/test-scik/lib/python3.9/site-packages/skimage/_shared/tests/test_fast_exp.py . [ 0%] | |
[ 0%] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================== warnings summary =============================== | |
Dev/miniforge3/envs/test-scik-9/lib/python3.9/importlib/__init__.py:127 | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik-9/lib/python3.9/importlib/__init__.py:127: UserWarning: Viewer requires Qt | |
return _bootstrap._gcd_import(name[level:], package, level) | |
Dev/miniforge3/envs/test-scik-9/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_null_matrix | |
Dev/miniforge3/envs/test-scik-9/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_linearity | |
Dev/miniforge3/envs/test-scik-9/lib/python3.9/site-packages/skimage/filters/tests/test_ridges.py::test_3d_cropped_camera_image | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik-9/lib/python3.9/site-packages/skimage/_shared/utils.py:293: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. | |
return func(*args, **kwarg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================== warnings summary =============================== | |
Dev/miniforge3/envs/test-scik/lib/python3.10/importlib/__init__.py:126 | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.10/importlib/__init__.py:126: UserWarning: Viewer requires Qt | |
return _bootstrap._gcd_import(name[level:], package, level) | |
Dev/miniforge3/envs/test-scik/lib/python3.10/site-packages/skimage/filters/tests/test_ridges.py::test_3d_null_matrix | |
Dev/miniforge3/envs/test-scik/lib/python3.10/site-packages/skimage/filters/tests/test_ridges.py::test_3d_linearity | |
Dev/miniforge3/envs/test-scik/lib/python3.10/site-packages/skimage/filters/tests/test_ridges.py::test_3d_cropped_camera_image | |
/Users/piotrsobolewski/Dev/miniforge3/envs/test-scik/lib/python3.10/site-packages/skimage/_shared/utils.py:293: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. | |
return func(*args, **kwargs) |
OlderNewer