Using CICiruclarWrap filter

I am a bit confused as exactly how to use the CICircularWrap filter. The data I am processing is a matrix, each column is from a different sensor. Each sensor is about 0.5 degrees wide. I am trying to map the sample space to cartesian space by using the CICircularWrap filter. I am not understanding how the filter works though. I get that adjusting the inputRadius controls how much of the circumference the image wraps around, but it isn't clear how many degrees the image spans. It seems the inputAngle parameter allows rotating the image and the inputCenter allows me to adjust where it is drawn within the view. I just don't understand how they all work together in a coherent way. I tried to search on this, but I pretty much just come up with the core image filter reference which is pretty limited. After playing with it, I am a bit confused as to how to compute the correct radius to achieve the correct field of view and how this radius affects the input angle. Does anyone have any experience doing something similar or possibly provide any guidance?


-Carl

Answered by CarlP in 337458022

I think I am wrapping my head around this. For this to work for me, I will first need to scale the image and then wrap it. The radius of circle will be based on mapping sample space to pixel space. The scaling may cause an undesired loss of information though so I may have to come up with another way.

Accepted Answer

I think I am wrapping my head around this. For this to work for me, I will first need to scale the image and then wrap it. The radius of circle will be based on mapping sample space to pixel space. The scaling may cause an undesired loss of information though so I may have to come up with another way.

Using CICiruclarWrap filter
 
 
Q