Is there a Cellprofiler module that can be used to correct distortion of an image?

HI

I have a new machine that scans the outside of 10cm tall cylinders to generate a 2D exterior image (with Drosophila pupae living on them). In fact they are not perfect cylinders and are very slightly cone like. The company applies a correction to correct for this, but I wondered if Cellprofiler could do this in a way that we could optimise.
Attached is are two images taken of a grid (the squares are perfect squares) imposed om each other using GrayToColor, with green = without correction , red = with company correction.


Is there a Cellprofiler module that can be used to correct distortion of the uncorrected image as an alternative to the one applied by the company ?
The distortion is consistent between images, no need to be adaptive.
Thanks
Guy

No, CellProfiler doesn’t have any “warping” functionality, purely translational alignment. It’s on our “would be cool to do” list, though, so it’s possible we may add it, and in the meantime if there’s an ImageJ plugin you like that does the same thing you could do it in CellProfiler using the RunImageJMacro function.

1 Like