I have a high resolution (about 30 cm) RGB pan sharpened image (3 channels, 16x3 bit). My need is to make some edge detection aimed to segment human artifacts.
I load the image with Mat rgbPanSharpen = Imgcodecs.imread(rgbPanSharpenImage, Imgcodecs.IMREAD_UNCHANGED);
but after that I have some doubts on how proceed.
I think I could work on single channels (using Core.split
) having single 16 bit images, may be also converting to 8 bit, but I am afraid this approach is lossy.
Which should be the correct approach to make edge detection on such kind of images ? (I don't ask for code, just the correct logical approch to follow)