1. A method for determining a class associated with an image, the method comprising: generating at least one image segment based on a segmentation of the image; determining a segmentation score for an image segment included in the at least one image segment based on a comparison of the image segment and a region of the image, the region of the image associated with the image segment; determining a confidence score for the image segment based on the segmentation score and a classification score, the classification score indicative of a similarity between the image segment and at least one class; determining a class associated with the image based on the confidence score; and outputting the class associated with the image.
2. The method of claim 1 , wherein the at least one image segment includes a plurality of image segments, wherein the image segment is a first image segment, wherein the confidence score is a first confidence score, wherein the region of the image is a first region of the image and wherein the method further comprises: determining a second segmentation score for a second image segment included in the plurality of image segments based on a comparison of the second image segment and a second region of the image, the second region of the image associated with the second image segment; and determining a second confidence score for the second image segment based on the second segmentation score and a second classification score, the second classification score indicative of a similarity between the second image segment and the at least one class.