swharden / Csharp-Image-Analysis

Code examples and notes for analyzing image data using C#
MIT License
2 stars 4 forks source link

ComputeSharp GPU Image Processing #1

Closed MosGeo closed 3 years ago

MosGeo commented 3 years ago

Great initiative!

You might want to consider ComputeSharp as it allows processing on the GPU which might be needed for running intensive scientific processes on 2D images. I am thinking of things such as Lattice Boltzmann simulations.

ComputeSharp GitHub Website

Cheers!

swharden commented 3 years ago

Thanks for the tip! This is a great resource to have on hand...

I am thinking of things such as Lattice Boltzmann simulations

lol I was thinking more like how to convert pictures between RGB and Grayscale 😜

EDIT: I guess this isn't too left field - rapidly converting between multi-dimensional arrays and colormapped images/video is pretty early in my todo list. Such code could support visualization of advanced numerical analytical routines.

In reality what I'll work on first are some basics: working with multi-channel images, image stack TIFs, and simple routines to perform convolution (perhaps in 3D). It would be great to implement things with some copy/paste-able code others can use without having to undertake a huge library or sticky license. Also converting 2D images to/from frequency domain using FFT would be great https://github.com/swharden/FftSharp/issues/29