4
votes
Image rotation using FFT
Yes, it is possible. Remember that a shift in space is equivalent to a linear-phase multiplication in frequency. A rotation can be accomplished by a shearing operation in one direction followed by a ...
2
votes
Accepted
Wrong color in .ppm file
The issue is that on your system, writing out "\n" is writing out 0x0D0A, whereas on my system, it's only writing out 0x0A. If you explicitly write out 0x0A instead of "\n" I think it will work for ...
2
votes
Accepted
Image saved as DDS with 16f format in photoshop has strange FOURCC text
The tool seems to be generating an unofficial extended version of DDS in which the FOURCC code is replaced by a value from the D3DFORMAT enum. The code ...
2
votes
Accepted
How to use maximum resolution (pixel density) with OpenGL in MS Windows
You might need to use a setting to tell Windows that your program is DPI-aware, meaning that it can adjust to very high-resolution screens like many current-gen laptops have.
Lots of older programs ...
2
votes
Accepted
Screen Space anti aliasing?
The easiest way to deal with this would be to provide thickness for the edges in the continuous setting. That is, make your edges out of solid capsules/cylinders, then you would not have this issue. ...
1
vote
How to identify images with similar content?
I am unsure exactly about your white pixel filling criterion. However, I will offer a solution.
Create a histogram for each image and compare histograms. If for instance there are 800 red pixels in ...
1
vote
Is it possible to convert Polar to Cartesian coordinates and map result to an image using opengl?
You'd be doing a change of coordinates from polar to Cartesian; at output point $(x,y)$ draw polar coordinate $(\theta = 2 \pi x, r = y)$. The coordinates in a unit circle drawn in the input image are ...
1
vote
How to calculate spatial frequency of an image just in one direction?
You can take a 1D Fourier transform of a row of pixels from the image; it will give you the horizontal frequencies present in that row.
You could sample one row out of the image, or else average all ...
1
vote
How to generate the stereographic projection of a 3D model
If instead of stereographic projection you can use other conformal projection. I would recommend you the "Least Squares Conformal Maps" algorithm. There are several implementations out there, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raster-image × 24image-processing × 9
c++ × 3
image × 3
pixels × 3
opengl × 2
transformations × 2
mathematics × 2
line-drawing × 2
triangulation × 2
fourier-transform × 2
raytracing × 1
rendering × 1
3d × 1
shader × 1
pathtracing × 1
algorithm × 1
projections × 1
physically-based × 1
global-illumination × 1
2d × 1
rasterizer × 1
antialiasing × 1
animation × 1
normal-mapping × 1