Questions tagged [perspective]

In Eclipse, a perspective defines the initial set and layout of views in the Workbench window. In CSS, perspective is a property and concept used in 3D transforms.

In Eclipse, a perspective defines the initial set and layout of views in the Workbench window. Within the window, each perspective shares the same set of editors. Each perspective provides a set of functionality aimed at accomplishing a specific type of task or works with specific types of resources. Perspectives control what appears in certain menus and toolbars. They define visible action sets, which you can change to customize a perspective. You can save a perspective that you build in this manner, making your own custom perspective that you can open again later.

In CSS, the perspective property determines the distance between the user and the z=0 plane, affecting the amount of distortion caused by 3D transforms. The perspective-origin property is related.

733 questions
10
votes
3 answers

Skewing an image using Perspective Transforms

I'm trying to perform a skew on an image, like one shown here (source: microsoft.com) . I have an array of pixels representing my image and am unsure of what to do with them.
user293895
  • 1,465
  • 3
  • 22
  • 39
9
votes
3 answers

Render HTML elements with perspective?

The goal is to render HTML elements with perspective, as in the examples below. We tried using CSS skew transformations, but those didn't look right as they warped the element's aspect ratio or otherwise created distortions. Here are CSS skew…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
9
votes
3 answers

How to fix image perspective distortion and rotation with JavaScript?

I have some images that takes using mobile phone. Is there any JavaScript library which can straighten the photo of a paper and flatten it? For example I want to create a rectangular image without any distortion from this image. In the other words I…
b24
  • 2,425
  • 6
  • 30
  • 51
9
votes
1 answer

Perspective projection - how do I project points which are behind 'camera'?

I'm writing my own software rasterizer in Java, and I ran into some trouble with it... take a look at a sample image, please: Image This sample just draw simple square grid on a plane. Everything works fine until I move camera close enough for some…
Alex
  • 923
  • 9
  • 21
9
votes
3 answers

OpenCV image transformation and perspective change

I'm trying to achieve the following effect, shown here using the perspective tool in GIMP. original image (620x466 pixels) transforming the image What I have is a fixed webcam and would like to plugin the above transformation matrix figures,…
winterDream
  • 93
  • 1
  • 1
  • 3
9
votes
4 answers

JavaScript / HTML highlighting / debugging in Eclipse using PhoneGap

I am writing an app using PhoneGap for Android in Eclipse. Since the project is an Android project, it's in a Java perspective. For whatever reason, Eclipse won't highlight HTML and JavaScript for me while in an Android/Java project/perspective…
Jason Hartley
  • 2,459
  • 1
  • 31
  • 40
8
votes
4 answers

Reset Eclipse perspective layout

I've just updated from Eclipse Juno to Kepler. What happened to the Eclipse perspective layout and how can I restore it to fill the entire window?
Flavio
  • 846
  • 1
  • 9
  • 21
8
votes
3 answers

OpenCV warpPerspective - how to know destination image size?

Ok, I have to admit that I am a novice to OpenCV and that my MATLAB/lin. Algebra knowledge might be introducing a bias. But what I want to do is really simple, while I still did not manage to find an answer. When trying to rectify an image (or part…
bloodymir
  • 81
  • 1
  • 1
  • 4
8
votes
3 answers

CSS perspective not working in Internet Explorer 10 or Firefox

I've got a jQuery image scroller that simulates depth using the perpective and transform: translateZ CSS properties. It renders correctly in Chrome, but not in IE10 or Firefox. Here is the full project (click on the "Who's coming" menu link to see…
moosefetcher
  • 1,841
  • 2
  • 23
  • 39
7
votes
2 answers

How to find the document edges in various coloured backgrounds using opencv python? [Document Scanning in various backgrounds]

I am currently have a document that needs to be smart scanned. For that, I need to find proper contours of the document in any background so that I can do a warped perspective projection and detection with that image. The main issue faced while…
7
votes
1 answer

Bird's eye view perspective transformation from camera calibration opencv python

I am trying to get the bird's eye view perspective transform from camera intrinsic, extrinsic matrices and distortion coefficients. I tried using the answer from this question. The image used is the sample image left02.jpg from the opencv official…
Abhijit Balaji
  • 1,870
  • 4
  • 17
  • 40
7
votes
2 answers

Projecting a 3D point to 2D screen space using a perspective camera matrix

I am attempting to project a series of 3D points onto the screen using a perspective camera matrix. I do not have world space (or consider it being an identity matrix) and my camera does not have camera space (or consider it an identity matrix), I…
Gary Paluk
  • 1,038
  • 1
  • 14
  • 28
7
votes
1 answer

Perspective Projection: Proving that 1/z is Linear?

In 3D rendering (or geometry for that matter), in the rasterization algorithm, when you project the vertices of a triangle onto the screen and then find if a pixel overlaps the 2D triangle, you often need to find the depth or the z-coordinate of the…
user18490
  • 3,546
  • 4
  • 33
  • 52
7
votes
2 answers

3d Navbar That Rotates

I'm trying to create a 3d navbar using pure CSS with transforms, transitions and perspective. Here is my code: .navbar-fixed-bottom { background: transparent; } .navbar-perspective { width: 100%; height: 100%; position:…
Armin
  • 369
  • 2
  • 5
  • 23
7
votes
4 answers

Eclipse Juno Perspective tool bar

While dragging the perspective tool bar to a different place in eclipse Juno, my eclipse got hang, and after restarting eclipse, the perspective bar gone. I tried googling but didnt find a solution to display that bar again. Anyone got a solution?
sufyan.shoaib
  • 1,117
  • 9
  • 19
1 2
3
48 49