05-16-2011 04:45 AM
Hello,
I'm trying to warp an image (similar to what the unwrap.vi function does) and use the same warp function to unwarp the image. It seems like I could not use the existing unwrap function for this task as I need to restore the image using an inverse of unwrap.vi. I have tried to restore the unwraped image by defining an "mirror" anulus using unwrap.vi as suggested on http://forums.ni.com/t5/Machine-Vision/Is-there-an-inverse-to-the-IMAQ-Unwrap-function/td-p/190764, however could not restore to the original image as I have no control of the manipulation done to the pixels coordinates.Also, this unwrap function is not designed to be used this way either.
I believe labview vision toolkit does not have image warping function, therefore I would probably need to write a warp function and a unwarp function. Has anyone written some warping function that is similar to the unwrap function? or any warp function ?
Many thanks ![]()
05-31-2011 09:29 AM
Hi there,
Thanks for posting on the NI Forums!
I have been doing some research into the possible existance of an inverse of the unwrap.vi. A function that performs the opposite of an unwrap.vi doesn't appear to exist. If you wanted to do this then you are essentially wanting to get the image back to its original form, so could you not just use the original image?
With regards to a warp function, I have looked into it and found no previous functions under that name. If it is more of a custom function then I think you are correct in your intention of maybe writing it yourself. Posting it on the NI Community Area would be a good place to show-off your handy work! 🙂
How exactly do you plan to use the warp function?