Reputation: 11
I have a region and I want to move it to the right by 590 columns with the move_region operator, but the operator returns me an empty region
union1 (Regions, Regions)
move_region(Regions, RegionMoved, 0, 590)
connection(RegionMoved, ConnectedRegions)
the region is area = 15653 center = 783.516, 148.932
Upvotes: 0
Views: 66
Reputation: 1
This can happen if your region is being moved out of the image.
try using: set_system ('clip_region', 'false')
This stops regions being cut off when the move outside of your image.
This is a system setting so I would advise you check out any other region manipulation you are doing as you could be relying on regions being clipped which now will not be.
Upvotes: 0