0
votes
0answers
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. ...
2
votes
1answer
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 ...
1
vote
0answers
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 ...
3
votes
3answers
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 ...
0
votes
3answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
2
votes
1answer
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 ...
3
votes
1answer
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)$ ...
-1
votes
1answer
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 ...
0
votes
0answers
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 ...
3
votes
1answer
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 ...
1
vote
0answers
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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, ...
0
votes
0answers
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 ...
1
vote
1answer
275 views

Identifying 3D shape from matrices analytically

I have a set of matrices (a 3D matrix, that represents a quantized body), for instance: (the size 5x5 here is just an example, the real size is a lot higher) $ M_1 = \left[ {\begin{array}{cc} 0 ...
2
votes
1answer
223 views

Given a point and a set of triangles, what's would be a fast way to find which triangle the point belongs to?

I'm trying to do a piece-wise affine transform in Python. I have one image with a set of points hand marked and another set of points where I wish to "move" my current points and the texture between. ...