image-rotation Questions
4
Solved
I'd like to randomly rotate an image tensor (B, C, H, W) around it's center (2d rotation I think?). I would like to avoid using NumPy and Kornia, so that I basically only need to import from the to...
Plovdiv asked 4/10, 2020 at 17:29
4
Solved
I have some hundreds of images (scanned documents), most of them are skewed. I wanted to de-skew them using Python.
Here is the code I used:
import numpy as np
import cv2
from skimage.transform ...
Plumy asked 12/4, 2019 at 14:41
2
Solved
Background:
I've decided that since bitmaps take a lot of memory which can cause out-of-memory errors easily, I will put the hard, memory consuming work on C/C++ code .
The steps I use for rotat...
Thermodynamics asked 18/1, 2013 at 12:10
4
Solved
I have got class called Airplane. Inside this class i have got variable img which is a BufferedImage type. What is more i have got class WorldMap which overrides function paintComponent(Graphics g)...
Vamoose asked 28/11, 2013 at 22:7
5
Solved
I am working on an application where I need to rectify an image taken from a mobile camera platform. The platform measures roll, pitch and yaw angles, and I want to make it look like the image is t...
Octave asked 7/12, 2013 at 18:48
2
Please read the whole question carefully before marking duplicate or closing it
I want to rotate a image(specifically arrow image) around its center point of base.
e.g. At start my image will be ...
Admittance asked 26/3, 2015 at 13:21
5
Solved
My current program draw a rotated bitmap (64x64) and tile it on the screen by drawing it again but adding an offset based on the computed position of the bitmap top right corner (after rotation), i...
Djokjakarta asked 11/12, 2022 at 23:45
6
I have followed Google CameraX code lab to implement custom camera. Camera preview is fine but when i take image after image capture image is rotated. I am taking image in portrait mode but saved i...
Golconda asked 16/9, 2020 at 13:35
3
Solved
Background
I know it's possible to create a rotated version of a Drawable (or Bitmap), as such (written about it here) :
@JvmStatic
fun getRotateDrawable(d: Drawable, angle: Int): Drawable {
if ...
Arkose asked 16/1, 2018 at 14:11
8
I want to rotate the image which is placed in the button of scrollbar in Chrome. Now I have a CSS with this content:
::-webkit-scrollbar-button:vertical:decrement {
background-image: url(images/ar...
Curricle asked 23/2, 2011 at 5:44
9
Solved
What I Have
I have an arrow image (like the left one). When the user clicks on it, it should rotate 180 degree with an animation and should look like the right one.
What I Have Done
private vo...
Dihedral asked 13/5, 2015 at 8:22
2
Solved
I have a requirement where I have an ImageView and a button.
http://i1289.photobucket.com/albums/b509/salikclub/Rotate-Last-Start_zps0d2fced8.png
I want to rotate the image when I click the butt...
Aron asked 2/8, 2013 at 11:45
6
Solved
In my application i have an image in a div,a button.
I want to rotate the image displayed and save the rotated image when i clicked on the button using jquery.
I already used the code:
http://co...
Endaendall asked 29/6, 2012 at 10:8
4
I am trying to rotate a buffered image in java. Here is the code I am using:
public static BufferedImage rotate(BufferedImage bimg, double angle) {
int w = bimg.getWidth();
int h = bimg.getHeight...
Ploss asked 10/6, 2016 at 22:37
0
I am trying to rotate a JPEG image in C++ using libjpeg v9 based on the "Orientation" parameter present in EXIF metadata. I am able to get the "Orientation" parameter and on its...
Horrendous asked 9/10, 2020 at 19:52
3
Solved
So Id like to rotate a handful of views all at the same time, all using the same rotation specs. The issue is that for some reason the rotation acts differently for the second element. Apparently t...
Rooseveltroost asked 12/2, 2013 at 20:57
4
Solved
I need to calculate the angle between lines. I need to calculate atan. So I am using such code
static inline CGFloat angleBetweenLinesInRadians2(CGPoint line1Start, CGPoint line1End)
{
CGFloat d...
Penoyer asked 2/11, 2010 at 16:54
2
Solved
I've a problem from last 2 days and unable to tackle it as I'm newbie. Actually I'm working on an Android App that needs pinch-zoom and 2-finger rotation on Android ImageView. I got the multiple tu...
Slumber asked 22/4, 2016 at 6:3
0
I have an already developed a Laravel web app. I've just discovered that whenever I upload an image taken from a mobile phone it rotates and if the image px is bigger than the containers then the...
Parrisch asked 15/12, 2019 at 3:18
1
I'm working on a project to automatically rotate microscope image stacks of a fluid experiment so that they are lined up with images of the CAD template for the microfluidic chip. I am using the Op...
Bioclimatology asked 18/7, 2019 at 17:2
1
I have an n x n x n numpy array that contains density values on a cubic grid. I'm trying to align the principal axes of inertia of the density map with the cartesian x,y,z axes of the grid. I have ...
Putput asked 3/5, 2016 at 14:8
2
I have a chessboard in two images with some angle of rotation. Lets find the rotation angle of second image with reference of first image.
For that I found the Rotation Matrix (3x3) and translati...
Sateen asked 17/9, 2012 at 16:30
1
I know that I can rotate images in tensorflow using tf.contrib.image.rotate. But suppose I want to apply the rotation randomly at an angle between -0.3 and 0.3 in radians as follows:
images = tf.c...
Topside asked 13/11, 2018 at 3:11
3
Solved
I have bunch of images, among them some of the images have to be rotated.
Sample:
I want to rotate this image 90° counter-clockwise.
I Googled to know how can I rotate an image and found many...
Scribe asked 22/2, 2014 at 8:39
1
In my app I prompt the user to capture an image. The users camera activity starts on a buttonClick and the user gets the option to use the camera to capture an image.
This image saves on the users...
Constant asked 14/3, 2018 at 12:32
1 Next >
© 2022 - 2024 — McMap. All rights reserved.