Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a reasonably performant algorithm for finding the most "interesting" part of an image?

I have implemented an algorithm described here to highlight the most interesting part of a photo, but it's not very performant, and I'm not sure it does as good a job as some others might. I'd like to try to implement a better one, but I don't actually know enough image processing to get started.

Frankly, I don't even know what questions to ask.

So, what I'm looking for here is a good algorithm that, when provided a jpg image, will find a region of that image that is ... a highlight, if not the highlight, of the image, and ideally did so in a minimum amount of time.

like image 214
Chris R Avatar asked May 05 '12 15:05

Chris R


People also ask

Which algorithm is best for image recognition?

CNN is a powerful algorithm for image processing. These algorithms are currently the best algorithms we have for the automated processing of images. Many companies use these algorithms to do things like identifying the objects in an image. Images contain data of RGB combination.

Which machine learning algorithm is best for image processing?

1. Convolutional Neural Networks (CNNs) CNN's, also known as ConvNets, consist of multiple layers and are mainly used for image processing and object detection.

What is the best algorithm for object detection?

Most Popular Object Detection Algorithms. Popular algorithms used to perform object detection include convolutional neural networks (R-CNN, Region-Based Convolutional Neural Networks), Fast R-CNN, and YOLO (You Only Look Once). The R-CNN's are in the R-CNN family, while YOLO is part of the single-shot detector family.


2 Answers

Often this is referred to as salient region detection. There are many ways to do so, as saliency is somewhat objective and mostly depends on the application. By googling you should be able to find many methods. If you give a sample image maybe someone here can provide a more detailed advice. Hope that helps.

Color can often be a good hint for detecting salient parts. The other commonly used approach is to rely on image gradients. These are perhaps the two most generic methods.

like image 154
fireant Avatar answered Oct 12 '22 07:10

fireant


You could also have a look at content aware cropping, or seam carving, for those algorithms do the inverse. They try to discard irrelevant or redundant visual content.

like image 23
Maurits Avatar answered Oct 12 '22 08:10

Maurits