What would be the result of adding a positive constant (scalar) to a monochrome image?
What would be the result of adding a positive constant (scalar) to a monochrome image?
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
What would be the result of adding a positive constant (scalar) to a monochrome image?
What would be the result of multiplying a monochrome image by a positive constant less than 1.0?
![$Close all open figures and clear all workspace variables.
SUse immultiply to dynamically scale the moon image also adding a constant to each
pixel to see the difference.
Close all
clear;clc;
I = imread ('moon.tif');
12 = imadd (I,50);
13 = immultiply (I,1.2);
figure
subplot (1,3,1), imshow (I), title('Original Image');
subplot (1,3, 2), imshow (I2), title ('Normal Brightening');
subplot (1,3, 3), imshow (I3), title ('Dynamic Scaling');
SWhen dynamically scaling the moon image, why did the dark regions around the moon
not become brighter as in the normally adjusted image?
I = imread ( 'moon.tif');
I16 = uint16 (I);
J = immultiply(I16,I16);
figure
subplot (1,2,1), imshow (I), title('Original Image') ;
subplot (1,2,2), imshow (J) ;
$Close all open figures and clear all workspace variables.
Use image division to dynamically darken the moon image.
Close all; clear; clc;
I = imread ( 'moon.tif');
12 = imdivide (I,2);
figure
subplot (1,3,1), imshow (I), title('Original Image') ;
subplot (1,3, 2), imshow (I2), title ('Darker Image Division')
$Display the equivalent darker image using image multiplication.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F83867c2c-bbda-42b3-8c05-985de9965c39%2F73ab0fc1-8a6f-4884-bf82-6457876cec64%2F2mowq7e_processed.png&w=3840&q=75)
Transcribed Image Text:$Close all open figures and clear all workspace variables.
SUse immultiply to dynamically scale the moon image also adding a constant to each
pixel to see the difference.
Close all
clear;clc;
I = imread ('moon.tif');
12 = imadd (I,50);
13 = immultiply (I,1.2);
figure
subplot (1,3,1), imshow (I), title('Original Image');
subplot (1,3, 2), imshow (I2), title ('Normal Brightening');
subplot (1,3, 3), imshow (I3), title ('Dynamic Scaling');
SWhen dynamically scaling the moon image, why did the dark regions around the moon
not become brighter as in the normally adjusted image?
I = imread ( 'moon.tif');
I16 = uint16 (I);
J = immultiply(I16,I16);
figure
subplot (1,2,1), imshow (I), title('Original Image') ;
subplot (1,2,2), imshow (J) ;
$Close all open figures and clear all workspace variables.
Use image division to dynamically darken the moon image.
Close all; clear; clc;
I = imread ( 'moon.tif');
12 = imdivide (I,2);
figure
subplot (1,3,1), imshow (I), title('Original Image') ;
subplot (1,3, 2), imshow (I2), title ('Darker Image Division')
$Display the equivalent darker image using image multiplication.
![%Use the imadd function to brighten an image by adding a constant (scalar) value to
all its pixel values.
I = imread ('tire.tif');
12 = imadd (I,75);
figure
subplot (1,2,1), imshow (I), title ('Original Image');
subplot (1,2,2), imshow (12), title ('Brighter Image');
%What are the maximum and minimum values of the original and the adjusted image?
Explain your results.
%Use the imadd function to blend two images, imsubtract to Subtract both images,
%Calculate the absolute difference and display the result.
Ia = imread('rice.png');
Ib = imread ('cameraman.tif');
Ic = imadd (Ia,Ib);
Im= imsubtract(Ia,Ib);
Ir= imabsdiff(Ia,Ib);
figure
subplot (2,3,1), imshow (Ia), title ('rice Image');
subplot (2,3,2), imshow (Ib), title('cameraman Image');
subplot (2,3,3), imshow (Ic), title('add Image');
subplot (2,3,4), imshow (Im), title ('subtract Image');
subplot (2,3,5), imshow (Ir), title ('absdiff Image');](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F83867c2c-bbda-42b3-8c05-985de9965c39%2F73ab0fc1-8a6f-4884-bf82-6457876cec64%2F2t4eojt_processed.png&w=3840&q=75)
Transcribed Image Text:%Use the imadd function to brighten an image by adding a constant (scalar) value to
all its pixel values.
I = imread ('tire.tif');
12 = imadd (I,75);
figure
subplot (1,2,1), imshow (I), title ('Original Image');
subplot (1,2,2), imshow (12), title ('Brighter Image');
%What are the maximum and minimum values of the original and the adjusted image?
Explain your results.
%Use the imadd function to blend two images, imsubtract to Subtract both images,
%Calculate the absolute difference and display the result.
Ia = imread('rice.png');
Ib = imread ('cameraman.tif');
Ic = imadd (Ia,Ib);
Im= imsubtract(Ia,Ib);
Ir= imabsdiff(Ia,Ib);
figure
subplot (2,3,1), imshow (Ia), title ('rice Image');
subplot (2,3,2), imshow (Ib), title('cameraman Image');
subplot (2,3,3), imshow (Ic), title('add Image');
subplot (2,3,4), imshow (Im), title ('subtract Image');
subplot (2,3,5), imshow (Ir), title ('absdiff Image');
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY