i can't find a function to get it, is it possible to get the import image's width and height in kernel?
If you want the input image size you need to pass it in as parameters.
A discussion thread on this topic is:
-- Daniel R. <email@example.com> http://danielr.neophi.com/
Retrieving data ...