Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv map predefined GT cordinates to different aspect ratio

I have a dataset of eye gluacoma with predefined groud truths of optic disc and optic cup, but the image size in the dataset is way too large, they are around 2045x1752 so the GT cordinates are also as per that cordinate ratio, but am looking to resize the image to lower aspect ratio say 450x400, and relocate the GT cordinates according to a new aspect ratio, but am bit confused with that, so any approch towards this problem would be appreciated.

Opencv map predefined GT cordinates to different aspect ratio

I have a dataset of eye gluacoma with predefined groud ground truths of optic disc and optic cup, but the image size in the dataset is way too large, they are around 2045x1752 so the GT cordinates are also as per that cordinate ratio, but am looking to resize the image to lower aspect ratio say 450x400, and relocate the GT cordinates according to a new aspect ratio, but am bit confused with that, so any approch towards this problem would be appreciated. appreciated.

Opencv map predefined GT cordinates to different aspect ratio

I have a dataset of eye gluacoma with predefined ground truths of optic disc and optic cup, but the image size in the dataset is way too large, they are around 2045x1752 so the GT cordinates are also as per that cordinate ratio, but am looking to resize the image to lower aspect ratio say 450x400, and relocate the GT cordinates according to a new aspect ratio, but am bit confused with that, so any approch towards this problem would be appreciated.

Note: Here the GT cordinates are in seperate csv file, it's not already labled in the dataset image itself.