Comments on: Making an HTML table of pixel values with colored cells https://blogs.mathworks.com/steve/2012/06/02/making-an-html-table-of-pixel-values-with-colored-cells/?s_tid=feedtopost Retired from MathWorks in 2024 after 30 years of service. Can now be found at MATLAB Central, https://hornjourney.com, and https://matrixvalues.com. MathWorks career included image processing, toolbox development, MATLAB development and design, development team management, MATLAB design standards, Steve on Image Processing blog (https://blogs.mathworks.com/steve). Co-author of Digital Image Processing Using MATLAB (https://www.imageprocessingplace.com/DIPUM-3E/dipum3e_main_page.htm). French horn enthusiast, member of Concord Orchestra and Melrose Symphony, member of the board of Cormont Music and the Kendall Betts Horn Camp. Thu, 31 Oct 2019 18:48:37 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Steve Eddins https://blogs.mathworks.com/steve/2012/06/02/making-an-html-table-of-pixel-values-with-colored-cells/#comment-24875 Fri, 08 Jun 2012 18:43:09 +0000 https://blogs.mathworks.com/steve/?p=605#comment-24875 Owr—Thanks.

]]>
By: owr https://blogs.mathworks.com/steve/2012/06/02/making-an-html-table-of-pixel-values-with-colored-cells/#comment-24874 Thu, 07 Jun 2012 16:54:32 +0000 https://blogs.mathworks.com/steve/?p=605#comment-24874 After a little investigation, I can answer my own question – maybe it will help someone else.

In 2012A the autogenerated HTML on my computer (64 bit Windows 7) is including default declarations for quite a few selectors compared to 2011A. These include table, tr, td, th. The result is that html tables generated by many of the ML utilities Ive found on the File Exchange do not render “properly”. It looks like the examples generated in this blog were done with 2012A, so apparently this isnt the same for every computer? Perhaps it depends on default settings. I was able to work around it by including html in my script to link to a custom style sheet. It would be nice if publish configurations allowed one to link directly to a css file (and remove the default settings rather than just over-ride them manually) in addition to xsl.

]]>
By: owr https://blogs.mathworks.com/steve/2012/06/02/making-an-html-table-of-pixel-values-with-colored-cells/#comment-24873 Wed, 06 Jun 2012 18:05:52 +0000 https://blogs.mathworks.com/steve/?p=605#comment-24873 Hi Steve,

Thanks for your (timely) submission. I am currently working on a project that requires this sort of thing. I am using Ned’s “makeHtmlTable” as it is more appropriate for my needs (I am not displaying images) but have noticed that the table rendering does not work for me in 2012A, though it does in 2011A. Instead of the colored table you get with the call in your example to “magic(11)”, I get unformatted text. Are you using any special publish configurations to get it to work for you in this blog post? Inspection of the source shows that there has been changes between the html generated in 2012a and 2011a, though I havent dug in enough to figure out what is causing the rendering discrepancies. I am just wondering if this is something you have encountered and overcome.

Thanks for your time.

]]>