This macro can be used to un-wide a tubular structure and flatten its surface (like peeling of and flattening the skin of a banana). The macro can only process a single channel 3D stack but it is easy to process multiple channels by exporting and importing ROI manager selections. Technically the macro computes the radial average intensity projection inside a ring centred on the radial symmetry axis of the object. The final image is a radial mapping of the intensity (radial angle along X, axial length along Y).
The example image is available in the documentation link.