No BSD License  

Highlights from
Image Negative Function

4.22222

4.2 | 9 ratings Rate this file 43 Downloads (last 30 days) File Size: 1.12 KB File ID: #5455

Image Negative Function

by Fahd Ahmad Abbasi

 

11 Jul 2004 (Updated 13 Jul 2004)

Generates a negative of the input image.

| Watch this File

File Information
Description

The function takes an image as an argument and returns an image as well. But the returned image is the negative of the original image passed to the function.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (12)
26 Nov 2004 Matti Matlab

Great code!

16 Mar 2005 kk kk

your comment on m file about using function is little wrong

  pic_neg = ait_imneg(pic);
should be imgneg

02 Aug 2005 Erik Axdahl

Does the exact same thing as imcomplement(img2rgb(...)), only it's much slower.

02 Aug 2005 Erik Axdahl

Correction on the previous entry, the quicker code is imcomplement(rgb2gray(...))

09 May 2006 alfonso poncho

hello I am Colombian like obtaining the negative of an image

14 Sep 2006 anantha rajan  
12 Nov 2006 kristians diaz

con la funcion imadjust se puede hacer el negativo ima2=imadjust(ima1,[],[1 0]); donde ima1 es la imagen original

22 Apr 2007 Snak Snake  
17 Feb 2008 beto torres

excellent, in few code lines, thats all

12 Jul 2008 bhurit emapana

it's good

01 Jun 2009 pathum athukorala

nice code!

08 Jan 2010 BDP Nahar

ya i also benefited from that g8 code thanx...

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image negative Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
argument Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
original Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
image processin Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
utility Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
function Fahd Ahmad Abbasi 22 Oct 2008 07:27:05
image negative madhu 09 Nov 2008 04:57:54
image processin Anuradha Jadiya 29 Nov 2010 00:09:22
original Yenka 07 May 2011 14:07:03
image negative Rana 08 May 2011 18:56:36
image negative Pooja 13 Sep 2011 01:59:00
argument zhang zirui 19 Oct 2011 09:22:07
function zhang zirui 19 Oct 2011 09:22:09
image negative ZAID Alyasseri 20 Oct 2011 15:34:25

Contact us at files@mathworks.com