# Tagged Questions

39 views

### Compressing an image by merging pixels [duplicate]

Let's say you have an image with dimensions (height, width) $h,w$ pixels. It is stored in a table $T[y][x]$ Unfortunately, the software you are using to generate this image can only use rectangles. ...
49 views

### How to mark rational points on a sphere

I found this picture on mathoverflow, which I find very intriguing and so I like to know how to draw such an image with a simple computer program. To calculate the rational point, I can draw a line ...
49 views

### Perspective projection alternate matrix (SOLVED)

A lot of perspective projection matrices I've seen look something like this: $$\left [\matrix {1&0&0&0\\0&1&0&0\\0&0&1&0\\0&0&z&0}\right]$$ where $z$ is ...
129 views

### How to calculate the size of any rectangle to fit into an ellipse?

It's been a long time I do not review my math knowledge, please help me out. I have an ellipse image with fix size, let's say it has the bounding rect with width=w1, height=h1, and I have any random ...
52 views

### Getting $x,y$ position on an image based on given value

This should be simple but my math skills are really bad ... I have an image of 36 images (6 by 6 matrix). These small images are 36 instances of a direction arrow (like from Google maps GPS), each ...
33 views

### What are interesting ways to tile a square image? Or a transformation that make an image tilling-able?

I want a method to tile arbitrary square image. For most cases the boundaries do not agree. So I are looking for a transformation from a square image to a square image whose boundaries agrees. One ...
83 views

### viewing ray geometry - with multiple aerial photographs

I am working with multiple aerial images. My idea is to model 3d objects (only upper parts). I am having known orientation parameters. As I am new to this field so that, I want to clarify few general ...
44 views

### How to estimate orientation errors of an image with respect to known data (line features)

I think this is very simple but for me, it is confusing to figure out a way. Here is my problem. I have been given a 3d line segment list obtained from a field survey. So I know each end point ...
276 views

### SVD and how to get two points on a 3D line from the representation of the line by means of two intersecting planes?

I have a 3D line represented by the intersection of these two planes $a_1x+b_1y+c_1z+d_1=0$ $a_2x+b_2y+c_2z+d_2=0$ I need to compute two 3D points $P_1=(x_1,y_1,z_1)$ and $P_2=(x_2,y_2,z_2)$ ...
79 views

### Limiting search space for efficient line matching [closed]

I have 2D line segments extracted from an image. So i know end point coordinates of them. also, i have some reference 2d line segments. Both line segments are now in vector form. comparing to ...
63 views

### Limiting search space around line segment via rectangular buffer

I have 2D line segments extracted from an image. So i know end point coordinates of them. also, i have some reference 2d line segments. Both line segments are now in vector form. comparing to ...
1k views

### Explanation of this image warping (bulge filter) algorithm

I've been researching image warping algorithms lately and haven't found many comprehensive references. That said, there are of course code snippets from GIMP, jhlabs.com, and imagemagick.org but none ...
205 views

### Calculating the aspect ratio of the rotated rectangle on the image

I need to determine the aspect ratio of the rectangular object (such as mobile phone or credit card) on the image. The problem is that the object might be photographed from an angle or perspective. So ...
305 views

### Normalizing 2D coordinates that are arbitrarily transformed.

This was originally posted as a programming question so I will try to keep it as abstract as possible. We are dealing with two images. The first is the original and second is a distorted version of ...
697 views

### Two Quadrilaterals Intersection Area (Special Case)

I have two intersecting quadrilaterals (the area of intersection is the grey polygon with thick boundary): These properties holds: One quadrilateral is always a rectangle There is always some ...
357 views

### Finding radius r of the overlappable sphere(s) in 3D image

My current problem: I have an input 3D binary image (a 3D matrix that has only 0 and 1) that consists of random numbers of sphere with radius r. We do not know how many spheres are there in the ...
93 views

### Need some help to understanding the formula

This is pinhole camera model (I don't get, is there [R t], or (R, t)) This formula is used to model the projection from a space point M to an image point m. Projection drawing Tilde over vector, ...
63 views

### How can I convert lines intersecting a plane into a focused image?

I am writing a particle transport code. I would like to be able to obtain an image of my geometry when transporting photons given the following information: The photons are incident on a plane. For ...