Open kwinkunks opened 6 years ago
Question since you are looking at affine transformations: are you just looking at an option for on-the-fly plotting of a rotated time-slice or actually transforming and storing the slice?
For the former the Matplotlib example will do well.
For the latter, I'd again use warping in scikit-image.
For completeness: there is the generic Scipy function scipy.ndimage.interpolation.affine_transform
but last time I checked it had issues see here. I figured out my own workaround, can discuss, but it is a bit of a headache.
Since we would presumably have the seismic traces already (i.e., we have the correct data, just in inline-xline coords), I think this is just for plotting.
Rotate timeslices to correct orientation.
https://matplotlib.org/2.0.0/examples/api/demo_affine_image.html