View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 45.8 KB File ID: #32273 Version:
image thumbnail



Steve Eddins (view profile)


20 Jul 2011 (Updated )

Convert image pixels to HTML table showing pixel colors and values

| Watch this File

File Information

im2html produces HTML text containing a table that displays the image pixel colors and values. When called with no output argument, im2html displays the HTML in the MATLAB Web Browser. When called with an output argument, im2html returns the HTML text as a string. This form can be useful when publishing a MATLAB file.
Requires Image Processing Toolbox.

Should run in R2009a or later.


Printing Variables To Html Tables In Published Code inspired this file.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
07 Sep 2014 osama

osama (view profile)

16 Dec 2013 Akshay Gore

Akshay Gore (view profile)

How to calculate
pixel with same gray value are labeled with same number,for each kernal in the image?

Comment only
01 Sep 2016

Updated license

Contact us