Post

Replies

Boosts

Views

Activity

Comment on objc vImage PixelBuffer crop
Is vImageCopyBuffer also able to handle scenarios where the crop-rectangle (region of interest) is not starting in the left upper corner? What i need is something like a digital zoom to the center, but without the implicit upscaling after cropping. I am not seeing any providable information for vImageCopyBuffer to obtain the necessary starting offsets of the ROI for rows and cols independently here. Moving the src pointer to the top-left corner would not be sufficient or am i wrong?
Topic: Programming Languages SubTopic: General Tags:
Nov ’22
Comment on objc vImage PixelBuffer crop
Is in the same way also a central crop realizable? What i need is like an digital zoom, but without the upscaling part, just the crop in the middle. Would it be sufficient to just set the starting point of vImageCopyBuffer to a place where the top-left corner of my region of interest is? I am assuming at the moment that the copy operation would just not know the necessary top and left distances for an ROI that does not start in the top-left corner.
Topic: Programming Languages SubTopic: General Tags:
Nov ’22
Comment on objc vImage PixelBuffer crop
Is vImageCopyBuffer also able to handle scenarios where the crop-rectangle (region of interest) is not starting in the left upper corner? What i need is something like a digital zoom to the center, but without the implicit upscaling after cropping. I am not seeing any providable information for vImageCopyBuffer to obtain the necessary starting offsets of the ROI for rows and cols independently here. Moving the src pointer to the top-left corner would not be sufficient or am i wrong?
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on objc vImage PixelBuffer crop
Is in the same way also a central crop realizable? What i need is like an digital zoom, but without the upscaling part, just the crop in the middle. Would it be sufficient to just set the starting point of vImageCopyBuffer to a place where the top-left corner of my region of interest is? I am assuming at the moment that the copy operation would just not know the necessary top and left distances for an ROI that does not start in the top-left corner.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22