Questions tagged [image-rotation]

Image rotation is performing a geometric rotation with certain angle on a particular image.

Image rotation is performing a geometric rotation with certain angle on a particular image. An image can be rotated by a positive angle or negative angle, which will rotate the image clockwise or counterclockwise. Rotating an image by 360 degrees or -360 degrees will actually result in the same image as the original image, while rotating on 180 or -180 degrees will display an inverted copy of the original image.

844 questions
5
votes
1 answer

How to get vertices of a rotated rectangle in OpenCV?

I used warpAffine in OpenCV to rotate a rectangle. Now I want to get the four vertices (the x and y locations of four points) of this rotated rectangle without rotating it back. After hours of search, I came up with no result. Could someone help me…
E_learner
  • 3,512
  • 14
  • 57
  • 88
5
votes
1 answer

How to rotate just 1 image when having multiple background images in a DIV?

I have the following fiddle It is a div containing 3 background images. As you can see, all images are rotating, but I want just the fan image to be rotating. All others should stay put. How to do this without adding extra div's? Kind regards
Maurice
  • 1,147
  • 2
  • 21
  • 49
5
votes
2 answers

How can I flip/rotate the label in C#/Windows Forms?

How can I flip/rotate the label in C# Windows Forms? I set the background image to my label. At every time interval it moves three pixels to the right side. When it reaches the form end position I need the label to be flipped and turned back. I have…
rangasathish
  • 595
  • 6
  • 13
  • 25
5
votes
2 answers

jQuery body background-image rotator

For a website I am currently designing I would like to have the body background on a rotation of an array of images. I have tried multiple ways i.e. using the fadeIn() and fadeOut() functions but they seem to affect the opacity of the divisions…
Dane Wilson
  • 53
  • 1
  • 1
  • 4
4
votes
3 answers

How to edit the size of image while rotating?

I have a gear image rotating using keyframe spin of CSS. but I want to resize the width of the image less than the height like in the image (see gear image below). Demo gear rotating .gear { position: absolute; top: 10%; left: 10%; …
Rowell
  • 43
  • 4
4
votes
3 answers

Rotate image and save in React-Native

I am going to rotate the image in react–native and I would like to get base64 of rotated image. I used several libraries react-native-image-rotate: It's working well on Android but on iOS I get rct-image-store://1 as url so I tried getting base64…
Shing Ho Tan
  • 931
  • 11
  • 30
4
votes
1 answer

CNN for 2d image rotation estimation (angle regression)

I am trying to build a CNN (in Keras) that can estimate the rotation of an image (or a 2d object). So basically, the input is an image and the output should be its rotation. My first experiment is to estimate the rotation of MŃIST digits (starting…
4
votes
3 answers

How to rotate an image based on two points

I have some images I manipulate, and in these images I always have two points (x1, y1) and (x2, y2). like this: |----------------| | | | . | | | | . | | | |----------------| I…
4
votes
1 answer

How to perform zoom in/out ,rotation together in Android

I want to apply drag,zoom in/out,rotate using multitouch to two images .one image is placed on the top of the other. after applying these action Create a image from above two images after changes made by applying actions. I succeed in…
Dev.Sinto
  • 6,802
  • 8
  • 36
  • 54
4
votes
3 answers

Jquery fadeIn cause a scroll top, how can i solve?

i have a problem with jQuery fadeIn(or fadeOut) method. i build an article rotator , all works fine but there is a problem when the page is scrolled bottom and the article rotate, The fadeIn (or fadeOut) method causes a scroll to the article…
Marco C
  • 45
  • 1
  • 8
4
votes
4 answers

JavaCV or OpenCV Image Rotation

My objective is to rotate an image by a certain angle (e.g. 30 degrees). One possible way of rotating by 90 degrees in OpenCV is given by tenta4 but unfortunately, it only performs 90-degree flips. Another possible way is a method "SkewGrayImage"…
Psi-Ed
  • 683
  • 1
  • 9
  • 22
4
votes
1 answer

How to find rotation angle of a stabilized video frame on Matlab

Consider I have the following a stabilized video frame where stabilization is done by only rotation and translation (no scaling): As seen in the image, Right-hand side of the image is symmetric of the previous pixels, i.e the black region after…
smttsp
  • 4,011
  • 3
  • 33
  • 62
4
votes
3 answers

jQuery & image slider/zoom effect

I wanna to ask is there a plugin that can do a image slider/rotator and at the sametime it has the effect of the image zooming in? Just like a normal slider, a container that hold image and description. Then it will show the image in certain…
Sola
  • 1,512
  • 4
  • 15
  • 31
4
votes
1 answer

Rotation/translation of vtk 3D image with interpolation (python)

I have 2 matrix: #for example rotation = matrix([[ 0.61782155, 0.78631834, 0. ], [ 0.78631834, -0.61782155, 0. ], [ 0. , 0. , -1. ]]) translation = matrix([[-0.33657291], […
4
votes
1 answer

How to force an Android camera to display in portrait mode, or for me to do the rotation instead

I'm new to posting so please be nice! I have looked at practically all the other questions related to this and tried most, but am completely frustrated. I simply want to have my Android phone display the camera in portrait mode, not landscape. I…
Gary Samad
  • 813
  • 7
  • 14