Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e82a6e87 authored by NADAL Morgane's avatar NADAL Morgane
Browse files

created parameters.ini file (todo: clean up) + still working on PySide2 for ImageVerification()

parent 56c71b36
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ def ImageVerification(image: array_t, channel: str) -> array_t:
# Verification of the dimension of the image and its coherence with the parameters (channel)
elif image.ndim == 3:
print('Your image has only one color channel.')
print('The image has only one color channel.')
if channel is not None:
raise ValueError('The image has only 3 dimensions. However, a value for the "channel" parameter is '
'specified. Give the channel the value None')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment