Convert an Image to Negative Image
2016-08-23
1 0 0
no vote
Other
Earn points
% % We creat the nagative of the input by this function
% It's a kind of linear transformation
% written By : Soheil Mohammadpour , 26/01/2013, Isfahan, Iran
% email: soheilmpour@gmail.com
clc,clear all,close all;
I=im2double(imread('woman_darkhair.tif'));
figure,imshow(I,[])
% in the following line we creat the nagative image by this transform we make 1->0
% and 0->1 and 0.50--> 0.5 and...
I2=(I-1)*-1;
figure,imshow(I2,[]);
matlab
图像
转换
负片
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment