I want to write a program that can create random collages from a given folder of pictures.
To begin, I want to create a simple collage from three images. Something like this:
I have almost no code right now
clc;
clear all;
close all;
a = imread('a.png');
b = imread('b.png');
c = imread('c.png');
% create a new image of size X x Y
% for a simple collage
% place a in the top half
% place b in the bottom left
% place c in the bottom right
How can this be done in MATLAB?
How can I stretch, rotate and then place the individual images on a canvas, so that I can have the complete freedom while creating the collage? The image placement might so happen that the images lie outside the canvas area.
Stretching images to form is collage is one way, but I want to be able to stretch and place them