Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS IS A MATLAB PROGRAMMING LANGUAGE, POST THE CODE AS A TEXT PLS, THE BELOW TEMPLATE COULD HELP YOU CODING: clc clear % close all

THIS IS A MATLAB PROGRAMMING LANGUAGE, POST THE CODE AS A TEXT PLS, THE BELOW TEMPLATE COULD HELP YOU CODING:

clc

clear

% close all is used to close all open figures

close all

%load 3D array that represents the image into imageData

imageData=imread('jumbled_UNCC_Logo_e.png');

%jumbled image data is just used for plotting and is never touched in the

%code

jumbledImageData=imageData;

%Set the top left corner of the imageData to be the color white. The color

%white is the highest intensity value of each color combined, thus each of

%the three color layer (the 3rd index of the 3D array) should have a value

%of 255 in the top left corner

rowMin=1;

rowMax=200;

colMin=1;

colMax=200;

%This command will set EACH color value of a pixel

%from rowMin:rowMax along colMin:colMax equal to 255.

imageData(rowMin:rowMax,colMin:colMax,:)=255;

%now the imageData will be plotted in subplot 1 and the unmodifed jumbled

%image will be plotted in subplot 2.

subplot(1,2,1)

imshow(uint8(imageData),[0 255])

subplot(1,2,2)

imshow(uint8(jumbledImageData),[0 255])

image text in transcribedimage text in transcribedimage text in transcribed

In-class Exercise Oh no! Lightning struck the UNCC servers and jumbled up the very first UNCC logo png file. Luckily there are a ton of backups scattered throughout the internet... but the original png file holds sentimental value. It is your job to fix logo. Use whatever method you can thin of (other than loading an unjumbled image and replacing the jumbled one with it) to fix the image. The error must be at least around 120% to count. 3. note: this is the logo with green text and a white background (the jumbled file is located on canvas as: 'jumbled_UNCC LOGO_e.png) Submit your edited UNCC Logo png and code as separate files to question one and two. Code should be named 'lastname firstname, logo.m UNC CHARLOITTE UNC CHARLOTTE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions