Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Affine transformation #39

Open
kwinkunks opened this issue Nov 9, 2018 · 2 comments
Open

Affine transformation #39

kwinkunks opened this issue Nov 9, 2018 · 2 comments

Comments

@kwinkunks
Copy link
Member

Rotate timeslices to correct orientation.

https://matplotlib.org/2.0.0/examples/api/demo_affine_image.html

@mycarta
Copy link

mycarta commented Nov 9, 2018

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.

@kwinkunks
Copy link
Member Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants