Wednesday, September 23, 2026

Loading/Writing an image with scikit-image

 

 To begin any image processing task in Python, the fundamental first step is to load the image data into your script. This typically involves using libraries like `scikit-image` (`skimage`), `OpenCV` (`cv2`), or `Pillow` (`PIL`) to read image files (e.g., JPEG, PNG, TIFF) into a format that Python can manipulate, often as NumPy arrays.


TOC Image and Python



Table of Contents of a series of posts dedicated to the image file.
When you load and/or save an image - 2D array containing pixel values - in your hard disk, this array is converted into a new structure: the file...

Tuesday, September 3, 2024

Installing Python and Utilities in MacOS (french version)

 

Step-by-step tutorial to install python and utilities on MacOS. Here is the french version...


Creating a Virtual Environment in Windows (french version)

 

Step-by-step tutorial to install python and utilities on Windows. Here is the french version...


Tuesday, May 21, 2024

Installing Python in Windows (french version)

 

Step-by-step tutorial to install python and utilities on Windows. Here is the french version...


Installing python, utilities and packages (french version)

 

 

 A new series dedicated to Image Processing with the programming language Python. The first step is to install all the Python programming environment to manipulate and explore images.


Wednesday, July 26, 2023

Lines Detection: Use of the Radon Transform



 The classical approach to detect lines in an image is the Hough Transform. Here I'll present another alternative based on the Radon Transform (seen in my Learning Tomography series [see TOC]).