Question: please show full code in matlab 3 (10 points) Energy Function We're also going to want to explore seam carving. The first part of that
3 (10 points) Energy Function We're also going to want to explore seam carving. The first part of that requires computing the energy functions of your images. For each of your images, compute its energy and visualize this as an image. Some implementation details: - Do this in grayscale - First smooth your grayscale image using a Guassian filter prior to getting the gradients (or do this in one step). Choose parameters that make sense for you (and report them!). Since you already demonstrated in prior assignments your to implement RGB to Gray, Gaussian and Gradient kernels and convolution, for this assignment may use Matlab functions like conv2, rgb2gray. An example can be found in Figure 2 Figure 2: Image Energy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
