Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

I have a HLSL shader I am using in unity and the idea is to take a 2D image and a depth map of that image, and rotate them based on an euler input. Right now it's rotating exactly how I want it to, ...
Ross Gauld's user avatar
-1 votes
1 answer
60 views

When image in vertical position watermark (date time) not show properly ](https://i.sstatic.net/LOlcendr.png) Question: I am working on a modal where an image can be rotated by 90 degrees each time ...
Vishal Kumawat 's user avatar
0 votes
0 answers
39 views

enter image description hereI created a website using a windows laptop but have been told that 1 of the pictures is showing sideways on an apple mac. When I uploaded the photo and saved it all ...
Louise Runnacles's user avatar
0 votes
1 answer
97 views

I'm trying to rotate an image (e.g., by 45 degrees) using sharp without increasing the canvas size or reducing the content size (i.e. non-transparent pixels). Currently, when I rotate the image, the ...
gang's user avatar
  • 1,820
0 votes
1 answer
144 views

I'm writing a 2D software renderer and when rotating in certain angles I will get a sort of "checkerboarding" effect with my sprite pixels: To try and get proper rotation, I tried rounding/...
Nasir's user avatar
  • 91
-2 votes
1 answer
84 views

i am developing a web app that will be able to do some image transformations one of them is image rotation, the problem is: as long as the canvas is square ( width = height ) every thing is ok, but ...
Andrew Naem's user avatar
1 vote
1 answer
711 views

I need to do OCR task on images containing ordinary horizontal text, and, besides this, text with 90 and 270 degree rotation Like this I use python and PaddleOcr .PaddleOCR can recognize rotated text, ...
user176953's user avatar
1 vote
2 answers
614 views

I have two 2D images, where the second one undergoes translation and rotation, resulting the coordinates (xn, yn) in the first picture to move to (xn', yn'). I have no problem obtaining the rotation ...
ZeroX Al-Attas's user avatar
1 vote
0 answers
20 views

I'm modelling a simple solar system in jogl and the camera isn't able to look at a specific planet (Earth). I tweaked a lot of code and managed to get the camera to orbit around the planet, but when I ...
Red Richardson's user avatar
0 votes
0 answers
61 views

Approach: I wrote a custom loss function in PyTorch that compares the angular difference between the original (input) and reconstructed images based on their first principal component axes. This ...
Pave's user avatar
  • 45
-1 votes
2 answers
71 views

I was just wondering, how to make the edges of a rotated 2d sprite smooth? Take the online game lordz.io for example. Even when you spin around, the edges of the player are completely fine. Is ...
Craftwr's user avatar
0 votes
1 answer
117 views

I have some problem: I want do clock arrow animation effect, but I can't find how I can set step count or step degree for my animation. I'm using the following approach: val rotation by ...
Alex's user avatar
  • 1,750
0 votes
1 answer
111 views

I am trying to build an image slider in which when pressing the previous or next button my image slider first rotates 180deg then translates the width of the image to show next/previous image. I can't ...
user avatar
0 votes
1 answer
89 views

I am trying to rotate a bmp image 90 degrees clockwise. However, I am stuck on how. I've managed to make only a 180 degrees rotation. Here is my code for the 180 degrees rotation int row_size = ((...
ms complaints's user avatar
2 votes
0 answers
284 views

I am working on a project that involves generating captcha images using Python's Pillow (PIL) library. I want to add a feature where each individual letter in the captcha string is rotated on the ...
mattdub's user avatar
  • 43
2 votes
2 answers
127 views

There are many solutions on the Internet, but all of them are either crutches or do not work correctly. Perhaps there is a way to stretch the element in width and adjust the height when rotating more ...
DevOverflow's user avatar
  • 1,862
1 vote
0 answers
115 views

I use CGImageSourceCreateThumbnailAtIndex to resize and rotate a CGIImage. It works fine on ios 16 and below, but on ios 17, rotating does not work anymore. CGImageSourceRef imageSource = ...
Tedxxxx's user avatar
  • 258
0 votes
0 answers
89 views

Problem: I am trying to rotate and scale an image using the following Python code: """ img = matplotlib.pyplot.imread('letterR.jpg') T = np.array([[0, 2, 0], ...
invalid youser's user avatar
1 vote
0 answers
199 views

I'm created a simple flexbox layout of a header, image and a footer. Header and footer are just one line of text, while the image takes the as much space as possible, centered. I need to rotate the ...
Robo Robok's user avatar
  • 23.1k
0 votes
1 answer
302 views

My app has an array hand of a struct with a property let blatt: Image. During init, an Image is assigned to this property. To display such an array horizontally, I use the following code (scaledWidth ...
Reinhard Männer's user avatar
2 votes
1 answer
718 views

I'm trying to align a rectangular prism contained in a 3D numpy array to the principal axes of the array. Specifically, I need to accomplish this alignment by rotating the full array, as opposed to ...
Pete's user avatar
  • 526
0 votes
1 answer
169 views

I am creating a python program that can analyze an image of a circuit board and identify parts of the image that have a label on them: The green text under the labels is what the program is ...
Jon Zavialov's user avatar
0 votes
0 answers
82 views

In the lecture we saw that rotating an image changes the histogram of the image. But what I do not understand is, how does rotating an image changes the histogram of an image ? Don't histograms mean ...
BB_'s user avatar
  • 13
2 votes
1 answer
1k views

I have observed that there is a difference between rotation using cv.warpAffine method and the cv.rotate method. The resulting images are different - while cv.rotate is perfect i.e. rotated image with ...
tintin98's user avatar
  • 131
1 vote
0 answers
64 views

I've been working on a project for a week with the manipulation image coordinate, and I´m mostly done. However, I am experiencing some difficulties. I am programming with C# with the library Emgu.Cv (...
elcapo's user avatar
  • 9
0 votes
1 answer
120 views

I have three points-> point1, point2.. auto it = vectorList.begin(); Eigen::Vector3d point1 = *it++; Eigen::Vector3d point2 = *it++; Eigen::Vector3d point3 = *it; I am using them for creating a ...
meno's user avatar
  • 21
0 votes
1 answer
32 views

I have a white rectangle of size 300 X 300 pixels. I have rotated the rectangle about the origin by 20 degrees clockwise.I would like to compute the length of a and b below. Note:The background black ...
Ash's user avatar
  • 59
0 votes
0 answers
75 views

I am new to image processing and I have limited knowledge on OpenCV and other image processing tools. I have two cameras facing each other and both cameras are identical, but the lenses are different. ...
vashista's user avatar
  • 105
1 vote
0 answers
152 views

When the spherical images uploaded by mapillary to openstreetmap, it attaches fields to the images like computed_rotation, computed_altitude, computed_camera. In documentation, its mentioned that ...
Rishabh's user avatar
  • 21
0 votes
0 answers
104 views

I am working on a project where I need to 'square up' a piece of paper in a photo, so it appears to have no rotation in 3d space. I have already written an algorithm to find the corners of the piece ...
357865's user avatar
  • 23
1 vote
2 answers
372 views

I'm making a game engine in C and I have a rotation function that rotates an image to a degree. But there's a few problems with it. I previously had coordinates x and y, transformed them into nx, ny ...
entonces's user avatar
1 vote
2 answers
732 views

I have a rectangular object that I would like to appear as if it has been rotated in 3D as shown in the picture below: The transformation that I'm applying on the object rotates it along the Y-axis ...
Mohammad Ali's user avatar
0 votes
0 answers
309 views

This is how it look like And i want to rotate this arrow when you hover select element I tried: select:hover ~ .arrow {transform: rotate(270deg);} but it doesnt work I also tried do it withour '~' ...
Strong's user avatar
  • 3
1 vote
0 answers
29 views

I'm currently working with Python's turtle module and I have created a custom turtle shape using the "turtle.register_shape()" method. Specifically, I have loaded a rocket image from a "...
Mars Baboon's user avatar
0 votes
1 answer
51 views

I'm trying to revolve a BufferedImage around its center. Here's my Code: frame = new JFrame(); GridBagLayout gLayout = new GridBagLayout(); frame.getContentPane().setLayout(gLayout); lbIm1 = new ...
RichS's user avatar
  • 127
0 votes
1 answer
190 views

I have an image stored in a numpy array. I have created a function to rotate that data by an angle theta. To perform the rotation the function converts the index coordinates of the image (i,j) to (x,...
john's user avatar
  • 67
0 votes
1 answer
161 views

I try to autorotate some images from a zip with php. For the autorotate I'am using the Exif:Orientation informations of the image. The code does work, but I have problems with some images which seems ...
MaxWeb's user avatar
  • 169
0 votes
1 answer
69 views

I cannot seem to figure out how to draw a transparent and rotated image. I need to be able to draw an image that is transparent and rotated to a certain degree. I tried this code: // draws an image ...
Bumhole Stupid's user avatar
0 votes
1 answer
308 views

The answer asked in this assignment is the following: Rotate the image around its center (that is the point of coordinates (100,100)) of an angle theta sampled uniformly in the range [10, 80]. I tried ...
Giulia Benvenuto's user avatar
1 vote
1 answer
2k views

I have a proprietary device with a rotated camera, that doesn't report its rotation to the OS. We use CameraX with PreviewView, and I get the image 90 deg rotated, and mirrored. Is there an efficient ...
UnDroider's user avatar
5 votes
5 answers
419 views

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), it ...
Onirom's user avatar
  • 610
1 vote
0 answers
144 views

I have a circle as ImageView and I want to be able to smoothly rotate it when swiping with a finger. If I swipe slowly, I want the circle to rotate slowly until the swiping action stops. If I swipe ...
Shatas's user avatar
  • 171
3 votes
1 answer
632 views

The Xamarin Essentials MediaPicker function to capture with camera using the CapturePhotoAsync runs correctly on the emulator but behaves differently when a mobile phone is connected to debug the ...
Victor's user avatar
  • 33
0 votes
2 answers
1k views

I want to rotate a sprite in C and SDL2, with a set center of rotation, and without scaling or anti-aliasing. My game resolution is 320x240, and the display is scaled up when I set the game to full ...
InsaneClock's user avatar
0 votes
1 answer
123 views

I can only turn 180 degrees now: import numpy as np import math import matplotlib.pyplot as plt def my_flip(img1, type): nr, nc = img1.shape[:2] u = np.zeros( [ nr, nc ], dtype = 'uint8'...
shhh's user avatar
  • 13
0 votes
1 answer
185 views

I have an image of a dartboard (with the numbers 1-20). If I rotate this image let's say 80 degrees, I want my python code to be able to compare the second image to the first one, and know that the ...
johndavids's user avatar
1 vote
1 answer
85 views

I am trying to parallelize a matrix rotation in Julia. I'm using the Distributed package, but I'm still getting an error. My original (serial) code is as follows: using Rotations using ...
AaronJPung's user avatar
  • 1,144
1 vote
1 answer
715 views

I have the following problem: I have a 3d numpy array representing a stack of images. I also have a point cloud (n,3) of some relevant locations in the 3d array, which I have plotted in there. I want ...
Cristian Soitu's user avatar
0 votes
0 answers
2k views

I'm trying to connect the rotation of an object to the scroll. Here's how cargo tells you to rotate an image: start by opening Code View while editing a page; then wrap the element you want to rotate ...
EMANUELE PESA's user avatar
0 votes
1 answer
331 views

I want to change rotation dynamically, bud i faced with the problem. I did simple code example of my problem as you can see parent cuts off piece of my image view when i set rotate click here to see ...
glllobys's user avatar

1
2 3 4 5
17