For visualization of image retrieval results using BEN, it is necessary to assign patch-names to samples returned from the BENDataSet.__getitem__() method. A convenient extension to this class would therefore be to (optionally) return the patch-names (key) in addition to image and labels.
For visualization of image retrieval results using BEN, it is necessary to assign patch-names to samples returned from the
BENDataSet.__getitem__()
method. A convenient extension to this class would therefore be to (optionally) return the patch-names (key
) in addition to image and labels.