Comments (3)
probably easier to use warp!
here, which is not exported I believe.
Maybe we should try make preserving array size look nicer.
using Images, ImageTransformations, TestImages, CoordinateTransformations, Rotations
img = testimage("lighthouse")
tfm = recenter(RotMatrix(deg2rad(45)), ImageTransformations.center(img))
ImageTransformations.warp!(similar(img), ImageTransformations.box_extrapolation(img), tfm)
from imagetransformations.jl.
by the way this recenter
changes the transformation such that the rotation is done around the center of the original image. If you do translation you'll have to be mindful of that
from imagetransformations.jl.
Great! This works as I expected. I agree that there should be some options to preserve size. Also export warp!
would be more convenient for users. Thanks a lot!
from imagetransformations.jl.
Related Issues (20)
- lazy view version of `imrotate`/`imresize`
- demo: anti-alias example using low-pass filter
- `imresize`/`imrotate` fixed point HOT 4
- skip prefilter step for `BSpline(Linear())` and `BSpline(Constant())` HOT 1
- Does ForwardDiff work with ImageTransformations? HOT 3
- demo: grid stretching and elastic transformation
- add swirl function HOT 1
- Images getting generated differently HOT 4
- No stable version document is deployed HOT 6
- Add `Projective` transformation HOT 2
- Demos using CoordinateTransformations and Rotations
- Repeated warping HOT 6
- `imrotate(img, pi/2)` changes size of image HOT 3
- Clarification of rotations HOT 7
- Rotation operation is inaccurate HOT 2
- Custom image transformation? HOT 4
- imresize without interpolation for integer upscaling
- imflip function
- The reference frame associated to an image is not the best one to perform a shear transformation HOT 6
- Support for autodiff in warping?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagetransformations.jl.