Pixel prime number.

asked 2016-08-08 12:57:34 -0600

davidkim gravatar image

image description

I want to find error between white position and white arrow. It's difference will be integer.

But i want to know exact error like prime number. Is there any way to express prime number in pixel image?

edit retag flag offensive close merge delete

Comments

1

I have no idea what you want. Which white position or arrow? And prime numbers? Could you try to rephrase your question?

FooBar gravatar imageFooBar ( 2016-08-08 16:00:40 -0600 )edit

I mean, All images are consist of pixel, which is integer. But I want accurate value. If I want to take pixel value like 0.7, 0.8 , what should I have to do?..

Point is this, Is there anyway to express integer value to more accurate prime number value?

davidkim gravatar imagedavidkim ( 2016-08-08 16:37:40 -0600 )edit

I don't understand what you're asking precisely, but you want the location of something to sub-pixel accuracy? The function cornerSubPix can take a list of integer points that are corners or saddle points and find their location more precisely.

Tetragramm gravatar imageTetragramm ( 2016-08-08 19:42:47 -0600 )edit