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
1
vote
2 answers

Finding every Cell of Grid on Circlepath in an efficient way

Lets say we have a Circle with Center(float_x,float_y) and Radius float_r. This is located on a grid or array like plane and we want to find every Cell(int i,int j) that gets intersected by the circle. These Cells should be ordered in an array…
1
vote
2 answers

cv.cornerSubPix parameters in the OpenCV Python Library

I am having problems getting the following function to execute using the OpenCV python wrapper: img = cv.LoadImage("calib0.jpg") grayImg = cv.CreateImage((img.width,img.height), img.depth,1) cv.CvtColor(img,grayImg,cv.CV_BGR2GRAY) corners =…
kscottz
  • 1,072
  • 2
  • 13
  • 17
1
vote
1 answer

Drawing an Image in Java with Sub Pixel Accuracy

How can I draw an image in java with sub pixel accuracy? I found similar questions here: Drawing an image using sub-pixel level accuracy using Graphics2D Sub-pixel Image rendering Unfortunately the solutions provided within the answers does not work…
Kcits970
  • 640
  • 1
  • 5
  • 23
1
vote
0 answers

Electron - Subpixel antialiasing does not work

How can I configure Electron to use subpixel-antialiasing? I tried using: -webkit-backface-visibility: visible !important; backface-visibility: visible !important; -webkit-font-smoothing: subpixel-antialiased !important; But this does not appear to…
nullmn
  • 557
  • 2
  • 7
  • 19
1
vote
1 answer

Subpixel color in flash/actionscript

When working with text in Flash, I often encounter the following problem: http://www.aino.se/media/i/subpixel.png This makes the text "glow" in various colors. Is there any good way to avoid this? It has something to do with subpixel rendering, but…
David Hellsing
  • 106,495
  • 44
  • 176
  • 212
1
vote
0 answers

How to compress subpixel text bitmap

Recently, I am doing jobs about Windows clearType text compression; Windows text font use sub-pixel rendering tech which making the text font edge full of mess colors, like below. I have try the jpeg, zstd, lz4, the compression ratio of them cannot…
1
vote
0 answers

Scaling subimage at float coordinates in python

I would like to know if there is a python library capable of extracting a subimage at supixel precision (float coordinates) and rescaling it to a target size (obviously integer). Example of what I want to do: Assume we have an image of size…
Cerno
  • 751
  • 4
  • 14
1
vote
0 answers

Issue with subpixel movement code

This is my code for movement, with separate subpixel variables. A subpixel here is a 256th of a pixel. velx and vely are also stored times 256. function object:move(velx, vely, subpixel) subpixel = subpixel or true; velx = velx or self.velx…
Accumulator
  • 873
  • 1
  • 13
  • 34
1
vote
1 answer

susy grid pixel rounding error

hey there i tried to fix the susy sub-pixel rounding error with the use of the isolate method, but somehow it still exists in chrome....cant figure out what i am actually doing wrong, thanks a lot for your help, really…
HendrikEng
  • 654
  • 1
  • 10
  • 32
1
vote
0 answers

Accurate subpixel edge location in C (OPENCV)

I want to find subpixel and I resarched this topic However I think that subpixels must be such as 152.6 , 49.3 ... I find this document in opencv …
j.doe
  • 327
  • 7
  • 22
1
vote
0 answers

Viewport units calculations not properly calculated

Why there is a difference between manually calculated height, and height calculated by the browser, using vh units. Because of this miscalculations i've got a problem at sub pixel level. "1vh calculated by the browser: 5.34375px" "1vh calculated…
Chudy444
  • 21
  • 2
1
vote
2 answers

IE 11 sub-pixel rendering overflow

On Internet Explorer 11, I have an issue with sub-pixel rendering causing an overflow of an element. As you can see, on IE11, the red part of the gauge seems to be "peeking" out of the bottom, while it seems fine on the other 2 major browsers…
René Sackers
  • 2,395
  • 4
  • 24
  • 43
1
vote
1 answer

Subpixel issues with an animated sprite in odd zoom levels of Safari and FF

I have the following fiddle which distills an issue I am having with a larger project http://jsfiddle.net/zhaocnus/6N3v8/ in Firefox and Safari, this animation will start having a jittering effect left and right on odd zoom levels (zoom in/out using…
Bradley Bossard
  • 2,439
  • 2
  • 23
  • 30
1
vote
0 answers

subpixel rendering problems with grid

i've run into this wierd problem with a fluid grid. Everything looks good in chrome and firefox, but the grid wont align on Ios and desktop safari. I realise that this is because of the different ways the browsers render subpixels. My question is if…
Malibur
  • 1,695
  • 5
  • 22
  • 31
1
vote
1 answer

Sub-pixel animation using WebGL + Google Chrome?

When I slowly translate a triangle it is moved pixel by pixel. Is there any way how to force the Google Chrome to smooth the movement out using antialiasing? For the example check out: https://dl.dropbox.com/u/4571/musicope2/index.html PS: I wonder…
Oldrich Svec
  • 4,191
  • 2
  • 28
  • 54