Hello all!
Im again using ADSimDetector to do some PoC's with areaDetector. I wanted to rotate an image by an arbitrary angle and i managed to do so with the NDWarp plugin that i found here:
https://epics.anl.gov/tech-talk/2021/msg01414.php
The plugin works very nicely (by the way: couldnt it be in the areaDetector main user guide page? It seems that it could be useful for a ton of people) but, as obviously the diagonal of the initial array is bigger than the sides, i end up with a trimmed image
(i append the original and rotated image).
What is the ideal way of passing the array to something that doesnt cut the diagonal corners as is happening with my current implementation?
I thought about using PluginGather in some way, but couldnt figure it out. The only way i can think about is by writing a whole new ADDriver that is called in .cmd file and instantiates a new NDArray, bigger than the first.
Can i instantiate a bigger NDArray in some easier way?
Thanks,
Marco