YOUR ACCOUNT

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: 1750
Filters: 39
The offset you might be looking for could be 1 / SIZE?
  Details E-Mail

Join Our Community!

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

33,711 Registered Users
+18 new in 30 days!

153,533 Posts
+38 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

15 unregistered users.