# \#image-processing

**URL:** https://discourse.julialang.org/tag/image-processing/1020.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Blog detailing my journey learning Julia and ML](https://discourse.julialang.org/t/blog-detailing-my-journey-learning-julia-and-ml/139614)

<div class="topic-metadata">

**Author:** [@jamesr137](https://discourse.julialang.org/u/jamesr137)\
**Replies:** 4\
**Last updated:** [September 23, 2026, 9:39pm UTC](https://discourse.julialang.org/t/blog-detailing-my-journey-learning-julia-and-ml/139614 "2026-09-23T21:39:20Z")

</div>

Hi all. I don’t post on here very often, considering that I’m just a hobbyist and not a highly trained professional like most folks on here, but I am a Julia enthusiast, and so when I can I like to share what I’ve worked…

---

## [\[ANN\] Announcing ImageTally.jl — Interactive image counting and landmark placement for scientific images](https://discourse.julialang.org/t/ann-announcing-imagetally-jl-interactive-image-counting-and-landmark-placement-for-scientific-images/136705)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 3\
**Last updated:** [June 9, 2026, 12:09am UTC](https://discourse.julialang.org/t/ann-announcing-imagetally-jl-interactive-image-counting-and-landmark-placement-for-scientific-images/136705 "2026-06-09T00:09:57Z")

</div>

Hi Julia community! I’m excited to share ImageTally.jl, a package I’ve been working on for interactive counting and tagging of objects in scientific images. \[EDIT\] ImageTally.jl is now part of the General registry! T…

---

## [Announcing Regions.jl — run-length encoded 2D regions for machine vision and image processing](https://discourse.julialang.org/t/announcing-regions-jl-run-length-encoded-2d-regions-for-machine-vision-and-image-processing/136961)

<div class="topic-metadata">

**Author:** [@schrpe](https://discourse.julialang.org/u/schrpe)\
**Replies:** 3\
**Last updated:** [May 3, 2026, 11:54am UTC](https://discourse.julialang.org/t/announcing-regions-jl-run-length-encoded-2d-regions-for-machine-vision-and-image-processing/136961 "2026-05-03T11:54:05Z")

</div>

I’m happy to announce Regions.jl, a package that introduces a first-class region type for discrete 2D image analysis, now registered in the Julia General Registry. What is a region? A region is a set of discrete 2D pixe…

---

## [Support for reading/writing photographic raw image formats?](https://discourse.julialang.org/t/support-for-reading-writing-photographic-raw-image-formats/135761)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 1\
**Last updated:** [February 20, 2026, 9:06pm UTC](https://discourse.julialang.org/t/support-for-reading-writing-photographic-raw-image-formats/135761 "2026-02-20T21:06:51Z")

</div>

I don’t see support for reading or writing raw image files from cameras in FileIO.jl or the JuliaImages ecosystem. Obviously most cameras have proprietary raw formats, so writing those files isn’t super useful, but it wo…

---

## [Astrophotography tools in Julia - image processing and hardware control](https://discourse.julialang.org/t/astrophotography-tools-in-julia-image-processing-and-hardware-control/132588)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 9\
**Last updated:** [November 21, 2025, 3:09pm UTC](https://discourse.julialang.org/t/astrophotography-tools-in-julia-image-processing-and-hardware-control/132588 "2025-11-21T15:09:29Z")

</div>

I’ve been an amateur astronomer for the past 15 years or so, and only recently have I gotten into astrophotography. (Exhibit A, a 3-panel IRG mosaic of several deep-sky objects in the Small Sagittarius Star Cloud) It…

---

## [\[ANN\] Niivue.jl: Interactive 3D/4D Neuroimaging Visualization](https://discourse.julialang.org/t/ann-niivue-jl-interactive-3d-4d-neuroimaging-visualization/133982)

<div class="topic-metadata">

**Author:** [@korbinian](https://discourse.julialang.org/u/korbinian)\
**Replies:** 0\
**Last updated:** [November 19, 2025, 8:29am UTC](https://discourse.julialang.org/t/ann-niivue-jl-interactive-3d-4d-neuroimaging-visualization/133982 "2025-11-19T08:29:33Z")

</div>

Hello Julia Community, I created a new package, Niivue.jl, which is a Julia wrapper to Niivue.js, a WebGL-based neuroimaging viewer. It uses Bonito.jl for communication with JavaScript. Because of this, the viewer rend…

---

## [\[ANN\] New version for CameraCalibrations](https://discourse.julialang.org/t/ann-new-version-for-cameracalibrations/131603)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 0\
**Last updated:** [August 14, 2025, 11:57am UTC](https://discourse.julialang.org/t/ann-new-version-for-cameracalibrations/131603 "2025-08-14T11:57:04Z")

</div>

I’m happy to share that CameraCalibrations.jl, a Julia package for camera calibration, no longer relies on cv2 via PythonCall. Instead, it now directly uses OpenCV.jl for both checkerboard detection and camera model fitt…

---

## [2D-FFT gives nonzero imaginary value at \[1,1\]](https://discourse.julialang.org/t/2d-fft-gives-nonzero-imaginary-value-at-1-1/129500)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 1\
**Last updated:** [May 31, 2025, 11:08am UTC](https://discourse.julialang.org/t/2d-fft-gives-nonzero-imaginary-value-at-1-1/129500 "2025-05-31T11:08:12Z")

</div>

Perhaps this is just my imperfect knowledge of how FFT works, but according to the theory, the Fourier transform at zero frequency of real-valued data is always real, and I thought that this should also happen with FFT. …

---

## [MATLAB Image Segmentation Algorithm Gives Empty Images in Julia?](https://discourse.julialang.org/t/matlab-image-segmentation-algorithm-gives-empty-images-in-julia/122156)

<div class="topic-metadata">

**Author:** [@matividalg](https://discourse.julialang.org/u/matividalg)\
**Replies:** 7\
**Last updated:** [November 2, 2024, 4:36pm UTC](https://discourse.julialang.org/t/matlab-image-segmentation-algorithm-gives-empty-images-in-julia/122156 "2024-11-02T16:36:43Z")

</div>

Hi there! I’m using the DICOM, FileIO, ImageMagick and other packages to load DICOM images for segmentation, but I just seem unable to. I’ve checked every post and even the repo. This is my code: using DICOM, Gtk4, Imag…

---

## [OpenCV.jl: OpenCV's Julia Bindings](https://discourse.julialang.org/t/opencv-jl-opencvs-julia-bindings/99853)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 15\
**Last updated:** [November 1, 2024, 6:27pm UTC](https://discourse.julialang.org/t/opencv-jl-opencvs-julia-bindings/99853 "2024-11-01T18:27:31Z")

</div>

OpenCV.jl OpenCV.jl is a Julia package that provides an interface to the popular computer vision library OpenCV. It allows Julia users to leverage the extensive functionalities and algorithms offered by OpenCV for vario…

---

## [Help with NUFFT (NFFT) vs FFT in Radial MRI applications](https://discourse.julialang.org/t/help-with-nufft-nfft-vs-fft-in-radial-mri-applications/122106)

<div class="topic-metadata">

**Author:** [@matividalg](https://discourse.julialang.org/u/matividalg)\
**Replies:** 0\
**Last updated:** [November 1, 2024, 12:52am UTC](https://discourse.julialang.org/t/help-with-nufft-nfft-vs-fft-in-radial-mri-applications/122106 "2024-11-01T00:52:02Z")

</div>

Hi there! I have a few problems when generating a “fHat” matrix of a NFFT (using package NFFT) vs when dealing with the inverse fft of my own (imperfect) adquisition. Let me illustrate. I’m simulating a regular Gradient…

---

## [Deforming an image according to a matrix of displacements](https://discourse.julialang.org/t/deforming-an-image-according-to-a-matrix-of-displacements/112295)

<div class="topic-metadata">

**Author:** [@JonathanH](https://discourse.julialang.org/u/JonathanH)\
**Replies:** 6\
**Last updated:** [April 1, 2024, 12:33pm UTC](https://discourse.julialang.org/t/deforming-an-image-according-to-a-matrix-of-displacements/112295 "2024-04-01T12:33:57Z")

</div>

Hi, I’m struggling to do the following in Julia: I have an image and a corresponding matrix of 2D translations at each pixel location. I would like to warp the image according to this transformation and fill with 0 at di…

---

## [Periodic convolution, equivalent to convolution2d from scipy](https://discourse.julialang.org/t/periodic-convolution-equivalent-to-convolution2d-from-scipy/110191)

<div class="topic-metadata">

**Author:** [@modifiedbear](https://discourse.julialang.org/u/modifiedbear)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 11:43pm UTC](https://discourse.julialang.org/t/periodic-convolution-equivalent-to-convolution2d-from-scipy/110191 "2024-03-06T23:43:16Z")

</div>

Hi! I am new to convolutions. I am looking to implement a convolution with wrapped/toroidal boundaries (i.e. for CircularArrays). # matrix = N x M matrix # smaller\_matrix = some sort of kernel convolve2d(matrix, smaller…

---

## [How to make a air mouse using webcam using julia](https://discourse.julialang.org/t/how-to-make-a-air-mouse-using-webcam-using-julia/110993)

<div class="topic-metadata">

**Author:** [@Sujan\_Das](https://discourse.julialang.org/u/Sujan_Das)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 4:34am UTC](https://discourse.julialang.org/t/how-to-make-a-air-mouse-using-webcam-using-julia/110993 "2024-03-01T04:34:21Z")

</div>

Please help me out with the required packages and if possible a guide to create my project

---

## [Box coordinates from image segmentation](https://discourse.julialang.org/t/box-coordinates-from-image-segmentation/109987)

<div class="topic-metadata">

**Author:** [@sardinecan](https://discourse.julialang.org/u/sardinecan)\
**Replies:** 8\
**Last updated:** [February 15, 2024, 9:08am UTC](https://discourse.julialang.org/t/box-coordinates-from-image-segmentation/109987 "2024-02-15T09:08:04Z")

</div>

Hi Everyone, I’m new to the field of image segmentation, and I need your help to find a way of determining the coordinates of a box from image segmentation. I have a batch of images like thie one: I try to find a w…

---

## [Sub2ind on julia](https://discourse.julialang.org/t/sub2ind-on-julia/109717)

<div class="topic-metadata">

**Author:** [@Afonso\_Britto](https://discourse.julialang.org/u/Afonso_Britto)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 3:39pm UTC](https://discourse.julialang.org/t/sub2ind-on-julia/109717 "2024-02-05T15:39:38Z")

</div>

I have this matlab code I want to convert it to julia, but there is no sub2ind in julia. Does anyone have any ideia how i can translate it? ‘’’ for c = 1:num\_channels l1\_c = sub2ind(size(SAT), row\_indices, l\_idx, …

---

## [\[Images.jl\] Projective Transform based on Matrix](https://discourse.julialang.org/t/images-jl-projective-transform-based-on-matrix/108559)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 6:43am UTC](https://discourse.julialang.org/t/images-jl-projective-transform-based-on-matrix/108559 "2024-01-15T06:43:18Z")

</div>

How I can apply an Projective Transform (or an Affine) to a image based on a transform matrix ? In phyton I can do this using: tform = transform.ProjectiveTransform(matrix=matrix) An example in Python (from Documentat…

---

## [Optimizing Direct 2D Convolution Code](https://discourse.julialang.org/t/optimizing-direct-2d-convolution-code/106598)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 14\
**Last updated:** [November 23, 2023, 8:48pm UTC](https://discourse.julialang.org/t/optimizing-direct-2d-convolution-code/106598 "2023-11-23T20:48:40Z")

</div>

I have implemented 2D convolution using direct calculation: using BenchmarkTools; function \_Conv2D!( mO :: Matrix{T}, mI :: Matrix{T}, mK :: Matrix{T} ) where {T \<: AbstractFloat} numRowsI, numColsI = size(mI); …

---

## [Differentiable image values of a triangle](https://discourse.julialang.org/t/differentiable-image-values-of-a-triangle/105821)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 3\
**Last updated:** [November 5, 2023, 8:43pm UTC](https://discourse.julialang.org/t/differentiable-image-values-of-a-triangle/105821 "2023-11-05T20:43:37Z")

</div>

I have a 2D gray and white image and set of coordinates of triangles (generally all of the image is triangluted) is there a differentiable stable way to get mean and variance of the part of the image enclosed by each tr…

---

## [Display image as Array{UInt8, 4}: in julia](https://discourse.julialang.org/t/display-image-as-array-uint8-4-in-julia/103924)

<div class="topic-metadata">

**Author:** [@hungpham3112](https://discourse.julialang.org/u/hungpham3112)\
**Replies:** 3\
**Last updated:** [September 16, 2023, 11:03am UTC](https://discourse.julialang.org/t/display-image-as-array-uint8-4-in-julia/103924 "2023-09-16T11:03:25Z")

</div>

I load the dataset from h5 file with HDF5.jl to work with binary classifying problems with neural networks I want to display an image from train\_set\_x 3×64×64×209 Array{UInt8, 4}: Element type of this array is UInt…

---

## [JuliaImages Announcements](https://discourse.julialang.org/t/juliaimages-announcements/102869)

<div class="topic-metadata">

**Author:** [@JuliaImages](https://discourse.julialang.org/u/JuliaImages)\
**Replies:** 1\
**Last updated:** [August 16, 2023, 4:53pm UTC](https://discourse.julialang.org/t/juliaimages-announcements/102869 "2023-08-16T16:53:24Z")

</div>

JuliaImages: Image Processing and Computer Vision in Julia JuliaImages hosts a collection of powerful image processing tools with a range of useful algorithms written in Julia, a modern and expressive high-level pro…

---

## [Images.jl v0.26 is out](https://discourse.julialang.org/t/images-jl-v0-26-is-out/102019)

<div class="topic-metadata">

**Author:** [@JuliaImages](https://discourse.julialang.org/u/JuliaImages)\
**Replies:** 1\
**Last updated:** [July 24, 2023, 1:55pm UTC](https://discourse.julialang.org/t/images-jl-v0-26-is-out/102019 "2023-07-24T13:55:40Z")

</div>

Images.jl Images.jl is an open-source image processing library for Julia and is maintained by JuliaImages community. It is one of the oldest packages in the Julia ecosystem, and its code-origins predate the existence of …

---

## [\`component\_centroids\` did not recognize \`Matrix{Int32}\`](https://discourse.julialang.org/t/component-centroids-did-not-recognize-matrix-int32/101067)

<div class="topic-metadata">

**Author:** [@Adam\_Page](https://discourse.julialang.org/u/Adam_Page)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 3:17am UTC](https://discourse.julialang.org/t/component-centroids-did-not-recognize-matrix-int32/101067 "2023-07-02T03:17:18Z")

</div>

I’m new to Julia. I was trying to execute center = component\_centroids(cq)\[2:end\] where cq is of type Matrix{Int32}, but got the following error: MethodError: no method matching component\_centroids(::Matrix{Int32}) Clo…

---

## [ImageEdgeDetection.jl: Upto Sub-Pixel Precision](https://discourse.julialang.org/t/imageedgedetection-jl-upto-sub-pixel-precision/100456)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 0\
**Last updated:** [June 16, 2023, 4:30pm UTC](https://discourse.julialang.org/t/imageedgedetection-jl-upto-sub-pixel-precision/100456 "2023-06-16T16:30:33Z")

</div>

ImageEdgeDetection.jl ImageEdgeDetection.jl is a Julia package for determining image edges (up to subpixel precision) and ascertaining the gradient/edge orientations. It provides edge detection algorithms like Canny an…

---

## [ImageView.jl: Visualization and Analysis of Images](https://discourse.julialang.org/t/imageview-jl-visualization-and-analysis-of-images/100455)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 3:56pm UTC](https://discourse.julialang.org/t/imageview-jl-visualization-and-analysis-of-images/100455 "2023-06-16T15:56:15Z")

</div>

ImageView.jl ImageView.jl is a Julia package designed for efficient and flexible image visualization. Features: Rubberband selection to view a specific region of interest using ctrl-click with drag on ROI. It makes v…

---

## [Usage of imfilter() with specified type](https://discourse.julialang.org/t/usage-of-imfilter-with-specified-type/100137)

<div class="topic-metadata">

**Author:** [@Fatalon](https://discourse.julialang.org/u/Fatalon)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 1:39pm UTC](https://discourse.julialang.org/t/usage-of-imfilter-with-specified-type/100137 "2023-06-10T13:39:36Z")

</div>

Hey there, I am trying to apply a simple gaussian blur to an image of type Matrix{Gray{N0f8}}, but recognized that the returned type is Matrix{Gray{Float64}}. . After looking up the documentation at Function reference …

---

## [ImageFiltering.jl](https://discourse.julialang.org/t/imagefiltering-jl/99721)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 2\
**Last updated:** [June 1, 2023, 2:25pm UTC](https://discourse.julialang.org/t/imagefiltering-jl/99721 "2023-06-01T14:25:10Z")

</div>

ImageFiltering.jl ImageFiltering.jl supports linear and nonlinear filtering operations on arrays, with an emphasis on the kinds of operations used in image processing. The core function is imfilter, and common kernels (f…

---

## [Segment Anything Model for Julia?](https://discourse.julialang.org/t/segment-anything-model-for-julia/97257)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 7\
**Last updated:** [May 3, 2023, 11:06am UTC](https://discourse.julialang.org/t/segment-anything-model-for-julia/97257 "2023-05-03T11:06:30Z")

</div>

Watching Meta’s Segment Anything Model (SAM) exploding online and wondering anyone is working on a port of the Python version to Julia or if a similar model could be trained using the Julia ecosystem as the training da…

---

## [Implementing convolution from scratch](https://discourse.julialang.org/t/implementing-convolution-from-scratch/93723)

<div class="topic-metadata">

**Author:** [@skittishdev](https://discourse.julialang.org/u/skittishdev)\
**Replies:** 5\
**Last updated:** [January 29, 2023, 9:43am UTC](https://discourse.julialang.org/t/implementing-convolution-from-scratch/93723 "2023-01-29T09:43:23Z")

</div>

Hello, I already posted this question on Stackoverflow, but decided I’d ask here as well. Please find my question from Stackoverflow pasted below (verbatim). I am trying to implement convolution by hand in Julia. I’m …

---

## [Pruning on skeleton image in Julia](https://discourse.julialang.org/t/pruning-on-skeleton-image-in-julia/91586)

<div class="topic-metadata">

**Author:** [@momo1](https://discourse.julialang.org/u/momo1)\
**Replies:** 2\
**Last updated:** [January 5, 2023, 8:06am UTC](https://discourse.julialang.org/t/pruning-on-skeleton-image-in-julia/91586 "2023-01-05T08:06:38Z")

</div>

Hi I’ve a thinned image from Images.jl thinning(). I’m trying to prune the small branches, I’m not sure how. I’ve used harris point detector to get the points on branch ends and on branch-outs. How should the spurs b…

[Next page](https://discourse.julialang.org/tag/image-processing/1020.md?match_all_tags=true&page=1&tags%5B%5D=image-processing)
