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,770 Registered Users
+6 new in 30 days!

153,656 Posts
+11 new in 30 days!

15,366 Topics
+57 new in year!

Create an Account

Online Users Last 5 minutes:

28 unregistered users.