Questions tagged [subpixel]

Use this tag for questions related to subpixel, where an animation would apply gradually.

Basically concerns animations where it would be applied gradually, giving it a smooth view rather than shifting the animated object in a pixel-to-pixel manner which looks odd for users.

78 questions
3
votes
2 answers

How is subpixel accuracy obtained with phase shifting in structured Light?

I'm looking for an explanation how subpixel accuracy is achieved with phase shifting. My problem is: If I have projector with a discrete column count and a camera which has more columns then the projector then how can I find exact depth values for…
Daniel
  • 2,993
  • 2
  • 23
  • 40
3
votes
1 answer

Why don't cross-platform applications like Chrome use FreeType to render text?

Just looking through the list of issues for the chromium project, a large number of them are cross-platform text rendering issues. Having to use the platform's text rendering system, and cater to their respective idiosyncrasies, I imagine is a lot…
Max
  • 2,760
  • 1
  • 28
  • 47
2
votes
1 answer

how do i convert OTF to TTF so that subpixel rendering (anti-aliasing) is ON?

okay. according to @fontface, OpenType PS does NOT have subpixel rendering when converted and used on Windows platforms. Crap Factor = 9. my question is, since it's cakey-pants to convert OpenType PS to OpenType TT, what happens to subpixel…
WhiteRau
  • 818
  • 14
  • 32
2
votes
1 answer

No subpixel positioning on small HTML5 canvas on chrome

When animating an image over a large canvas, the image renders correctly on non-integer coordinates, and the animation is smooth. on a small canvas, say 200x200, the subpixel coordinates don't apply, and the image "jumps" from integer location to…
Lunch
  • 35
  • 5
2
votes
0 answers

Doing translation, rotation and scaling over image with small steps and sub-pixel precision in C++ with openCV

I am trying to do translation, rotation and scaling with subpixel precision in openCV. This is the link for doing translation with subpixel pecision: Translate image by very small step by OpenCV in C++ So, I need to do the same for scaling and…
BugReader
  • 91
  • 2
  • 7
2
votes
1 answer

Sub-pixel rendering

I'm attempting, and failing, to render 2d shapes in Java using sub-pixel positioning. A failed attempt is below (ignore the scale and the AffineTransform for the moment) : import java.awt.*; import java.awt.event.*; import java.awt.geom.*; public…
jon hanson
  • 8,722
  • 2
  • 37
  • 61
2
votes
2 answers

How to shift image array with supixel precison in python?

I am trying to shift a 2D array representing an image with subpixel precision using 2D FFTs and the Fourier transform shift theorem. It works well when the shift value is in an integer (pixel precision), however I get a lot of artifacts when the…
2
votes
1 answer

Image processing with sub pixel accuracy

I'm writing a user interface program which controls industrial machinery. The machine is an automatic inline screen printer used in the electronic production industry. The exact purpose of the machine is to print solder paste onto bare PCBs. The…
howamith
  • 181
  • 3
  • 15
2
votes
1 answer

any way to get a div/image to rest on a subpixel?

Both style.top and translateY() seem to round to full pixel values. Is there any way to get an image to rest on a subpixel? As an example, here I am moving a div with an image in it down 0.1 pixels every 100ms, and as you can see, it just jumps a…
2
votes
1 answer

How to subpixel render glyphs with XRender extension

I found this great example of text rendering using XRender extension. But the font is loaded from Freetype in grayscale format, is there a way to ustilize XRender to draw subpixel (LCD) antialiased glyphs? If yes, how?
exebook
  • 32,014
  • 33
  • 141
  • 226
2
votes
2 answers

Sass/Scss - Rounding down with decimal places

I have the following Sass rule: $multiplier: 1/3*100; .ratio_1x0-5{ padding-bottom: 0.5%*$multiplier; } Which outputs the following css: .ratio_1x0-5{ padding-bottom: 16.6666666667% } Instead - I need this rule to be the following (the…
calumbrodie
  • 4,722
  • 5
  • 35
  • 63
2
votes
1 answer

How can I enable subpixel hinting on JDK7+ on OS X

for some reason any version of Oracle's JDK I am using is using greyscale hinting instead of subpixel. I am noticing this using Netbeans 7.3 and even Dev nightly+JDK 8. Cfr. these pictures: JDK 6 on the left, vs JDK 8 on the right (same behavior…
Edoardo Vacchi
  • 1,284
  • 10
  • 18
1
vote
0 answers

To obtain the diameters of the maximum and minimum circles using specific (x,y) points on the coordinate plane

I have the coordinates of the circular edge regions on a picture, in the form of (x, y). Using these points I am able to subtract the mean circle using least squares and measure its diameter. import numpy as np import circle-fit as cf coordinates =…
1
vote
1 answer

Disabling subpixel antialiasing for Cocoa apps

Is there a way to disable subpixel antialiasing for a single application written in Cocoa, programmatically or otherwise. I can set the global user defaults to set the level, even force it on for an external monitor, but I need a solution per-app…
happycodelucky
  • 991
  • 1
  • 9
  • 15
1
vote
0 answers

svg rendering issue on firefox

I have an incomplete SVG rendered on Firefox and I don't know why, I tried it on many other browsers like Chrome, safari and edge and it's working fine, the view on Firefox as the following: and this is the svg file: