Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting multiple images in a single image

I need help to identify the border and compare the images with the original image. I need guidance on How can I achieve this through processing or matlab or anything for beginner. for example look at the image below.

Original Image:

enter image description here

The Multiple Image: Larger Image

like image 472
Daniel Euchar Avatar asked Dec 27 '13 14:12

Daniel Euchar


People also ask

Which technique identifies multiple objects in a single image?

Object detection is the process of finding instances of objects in images. In the case of deep learning, object detection is a subset of object recognition, where the object is not only identified but also located in an image. This allows for multiple objects to be identified and located within the same image.

What is a picture with multiple images called?

A Polyptych – Many pictures in one image. A Photomontage – many photographs in one image. A Photomosaic – very many photographs, or elements of photos, creating a new pattern or picture.

How do you identify multiple objects?

The YOLO algorithm works by dividing the image into N grids, each having an equal dimensional region of SxS. Each of these N grids is responsible for the detection and localization of the object it contains.

What is meant by multiple images?

When two mirrors are kept at an angle and an object placed in between the mirrors, multiple images are formed due to reflection from one mirror on to the other. The number of images of the object formed depends on the angle between the two mirrors.


1 Answers

The "multiple image" you showed is easy enough to handle using just simple image processing, no need for template matching :)

% read the second image img2 = imread('http://i.stack.imgur.com/zyHuj.jpg'); img2 = im2double(rgb2gray(img2));  % detect coca-cola logos bw = im2bw(img2);                                       % Otsu's thresholding bw = imfill(~bw, 'holes');                              % fill holes stats = regionprops(bw, {'Centroid', 'BoundingBox'});   % connected components  % show centers and bounding boxes of each connected component centers = vertcat(stats.Centroid); imshow(img2), hold on plot(centers(:,1), centers(:,2), 'LineStyle','none', ...     'Marker','x', 'MarkerSize',20, 'Color','r', 'LineWidth',3) for i=1:numel(stats)     rectangle('Position',stats(i).BoundingBox, ...         'EdgeColor','g', 'LineWidth',3) end hold off 

enter image description here

like image 172
Amro Avatar answered Sep 30 '22 16:09

Amro