Comments on: The Two Amigos https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/?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. Tue, 29 Oct 2019 17:40:20 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: KP https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-28811 Thu, 22 Jun 2017 09:24:43 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-28811 To add to the comment above: I found that the original URL had only two amigos figure and copied your threeamigos figure from here to get your results. But I am now stuck with this error:

Attempt to grow array along ambiguous dimension.

Error in RemoveBob (line 214)
rJiro(~jiro) = 0;

May be I should go to sleep and look at this another day :)

]]>
By: KP https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-28810 Thu, 22 Jun 2017 09:16:09 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-28810 Hi Steve, I am using R2016B and I got the figure loosing their heads…and this message. Any help to correct this problem to get your original results? Thanks.
KP

Using new RGB2LAB interface; please read the doc for that function, as there are other options that may prove helpful.
Showing results for new RGB2XYZ interface; please read the doc for that function, as there are other options that may prove helpful.
Using new RGB2LAB interface; please read the doc for that function, as there are other options that may prove helpful.
Showing results for new RGB2XYZ interface; please read the doc for that function, as there are other options that may prove helpful.

]]>
By: Steve https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23609 Wed, 13 Oct 2010 11:31:21 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23609 Roman—If you have read research papers on this topic, then you know more about it than I do.

]]>
By: Roman https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23607 Wed, 13 Oct 2010 04:01:40 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23607 Sorry, forgot the link. Here it is:
http://research.microsoft.com/en-us/um/people/jiansun/papers/dehaze_cvpr2009.pdf

]]>
By: Roman https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23606 Wed, 13 Oct 2010 03:59:45 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23606 Steve, image processing is not my field, so I am sure you know better. However, these images look rather convincing and there is even some sample matlab code (which I don’t really understand):

http://www.cs.huji.ac.il/~raananf/projects/defog/index.html

Also, here is another 2009 publication on single image dehazing that refers back to Fattal as having progressed the field of Single Image Haze Removal “significantly”.

]]>
By: Brett Shoelson https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23605 Tue, 12 Oct 2010 15:57:16 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23605 @Yasin,
Thanks for the comment. I’m not sure I understand your question, though.

]]>
By: Brett Shoelson https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23604 Tue, 12 Oct 2010 15:55:36 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23604 @Johnny,
I might have used a fill flash to brighten the foreground subjects, right? :)

Your point is valid, though. I might have improved the results if I had used the IMADJUST function:

%
J = imadjust(I,[low_in; high_in],[low_out; high_out])
%

operating individually on the R,G, and B colorplanes of the masked original image before concatenating them into |rgb|. That would let me easily map low_R in the original to low_R in the background, etc.

Good suggestion!
Brett

]]>
By: Johnny https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23602 Tue, 12 Oct 2010 10:23:01 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23602 There is one problem that still bothers me. The luminescence of the two amigos does not fit the much darker background. You should find a way to make the amigos darker and then the results will be perfect.

Although you did a pretty good job all in all. Good going!

]]>
By: Faheem https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23601 Tue, 12 Oct 2010 09:30:39 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23601 little problem in hands otherwise ok

]]>
By: Yasin Abbas https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23600 Tue, 12 Oct 2010 08:32:19 +0000 https://blogs.mathworks.com/steve/2010/10/08/the-two-amigos/#comment-23600 Great stuff!

Can we have “segment the 3 amigos in black’n’white” as an extension?

]]>