Login - Create Account
Bookmark and Share

Pixel Coordinates

Login or Register to post new topics or replies
Sabin
Dr
Posts: 3
We know that the arguments (x,y) of get_sample represent number between 0, 1. It is not fully clear for me in which pixel (i,j) of the input image they mapp into. is this given by i = x * OUTPUT_WIDTH and j = y * OUTPUT_HEIGHT?

Any help with this?

Have someone writen some function that will transform (x,y) into some polar coords?
Computer Science Dept, UCC
Cork, Ireland
  Details E-Mail
Sabin
Dr
Posts: 3
One more question on the similar topics?

For the arguments (x,y), What would the coordinates of the neigbour pixels will be?
Computer Science Dept, UCC
Cork, Ireland
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1346
Filters: 38
The offset you might be looking for could be 1 / SIZE?
Njyldgarkn sample cache!
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

15,513 Registered Users
+10 new last day!

113,398 Posts
+66 new last day!

10,193 Topics
+12 new last day!

Online Users Last 5 minutes:

8 unregistered users.

Recent Wiki Edits:

Follow filterforge on Twitter