Many thanks for your interesting tool. It's not clear though to me from the instructions how to apply LocalZProjector in the case of a finite cylinder. I have an image stack of an epithelial tube with its common axis in z-direction. I came across this question and was hoping that I could use LocalZProjector for my similar problem, namely that I want to project the apical surface of the epithelium on a 2D plane. Could you elucidate whether this problem can be tackled with LocalZProjector? As far as I understand, in order to properly work, LocalZProjector would rather require the common axis of the cylinder to be perpendicular to the z-axis. Is that correct? I imagine that this way, I would need to split the stack into two stacks, each containing one half of the cylinder. I guess my problem boils then down to changing the axis of the image stack.