Hi, I have a question about image preprocessing in vpi.
Is it possible to access the vpi.Image in a column-major style (preferably in Python)? I saw that there are the concepts of pitch-linear and block-linear. From what I understood, pitch-linear refers to a data accessing row-by-row, but I think that block-linear is another data accessing method, not column-major. Can someone confirm or infirm this, or just explain if there is a possibility to access the data in a column-major fashion?
Thank you.
Hi,
Do you want to access the pixel in the image?
If yes, you can do this by adjusting the corresponding index.
The image layout is stored in the certain formats like NV12, RGB, etc.
Thanks.