Code covered by the BSD License  

Highlights from
Image Oil Algorithm

2.66667

2.7 | 3 ratings Rate this file 2 Downloads (last 30 days) File Size: 64.77 KB File ID: #9887
image thumbnail

Image Oil Algorithm

by Anthony Gabrielson

 

03 Feb 2006 (Updated 06 Feb 2006)

Gives an RGB image an Oil appearence

| Watch this File

File Information
Description

This code is based on the oil algorithm in Beyond Photography. This code differs from the orginal in that it can handle more diverse image sizes and RGB images.

MATLAB release MATLAB 7.1.0 (R14SP3)
Other requirements I built this under Windows with VC 2003 & R14SP3, but there is nothing platform or compiler specific about it.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
14 Jan 2007 . .  
23 Jan 2007 Anthony Gabrielson

Not exactly a helpful response...
Did it not work for you? It works for me and does what it says even though I am the author...

22 Nov 2008 Lin Yang

incorrect algorithm; thx for sharing though

20 Mar 2009 Xie Dang-en

How to does it work?

20 Apr 2009 Anthony Gabrielson

Xie,
The code does a histogram on a 3x3 pixel area at every pixel on each color and populates each color of the new oil image based on that histogram.

Lin,
You may not care for the algorithm, but it is correct - did you read the credited source in the code? I didn't do this from scratch...

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
fun Anthony Gabrielson 22 Oct 2008 08:14:35
mex Anthony Gabrielson 22 Oct 2008 08:14:35
rgb Anthony Gabrielson 22 Oct 2008 08:14:35
beyond photography Anthony Gabrielson 22 Oct 2008 08:14:35
oil Anthony Gabrielson 22 Oct 2008 08:14:35
image Anthony Gabrielson 22 Oct 2008 08:14:35
beyond photography Lin Yang 22 Nov 2008 19:35:00

Contact us at files@mathworks.com