Image calculator

Hi all,

My first post, thanks for all the good work. I’m keen to get involved.

I was wondering if anyone has developed in Slicer something like ImageJ/FIJI’s ‘image calculator’?

Which would allow the user to manipulate images by mathematical operators with a scalar or image? (I appreciate image and image operations are not necessarily trivial e.g. different array sizes and orientations etc.)

I suppose users with know-how would just do this programmatically.

I’m only so far aware of a module that allows to multiply 2 images together “Multiply Scalar Volumes”.

If it dosen’t exist, I would make a mock up. is it something that the community would consider useful?

Cheers,
Ashkan

There are several modules like this in Slicer. Let us know if there’s a specific operation you can’t find.

SimpleFilters exposes a huge list of operations.

1 Like

This is great thank you and I can see exposes SimpleITK filters for image and image operations. However, it dosent seem to allow image and scalar operations e.g. Image * 10.

Though it appears possible by the documentation Execute (const Image &image1, double constant)

Most people use python for that:

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#add-noise-to-image

1 Like