Last week, we bade adieu to Bob Bemis --our long-time collaborator on the Pick of the Week blog. We've had the same thumbnail image associated with this blog for a couple years now; in fact, we've affectionately referred to the picture as "the three amigos." In the short term, at least, there will be only two of us-- Brett and Jiro --writing this blog. Clearly, our thumbnail picture is not going to be appropriate moving forward.
So today, in lieu of a Pick, Jiro and I would like to issue a challenge to all of our image-processing-capable friends: using ONLY MATLAB and MathWorks tools, write a bit of code to modify the Pick of the Week image and create a "two amigos" photograph, containing only Brett and Jiro. (Bob is the one in the middle.)
We will award two prizes for this competition: one for the person whose code results in the best usable Bob-free image, and one for the person with the most creative approach to solving the problem.
Some ground rules: use only MathWorks' tools/code. MATLAB, Simulink, Toolboxes, and Blocksets are all fair game. Any code downloaded from the MATLAB Central File Exchange is fair game. Anything created using exclusively MathWorks' tool is fair game. Using Photoshop? Not allowed!
Email all entries (CODE ONLY--no images!), with the subject "Two Amigos Competition", to me at:
char(cumsum([98 16 -13 15 0 -70 69 -11 7 -10 7 7 -4 -1 -46 45 -12 19 -12 15 -8 3 -7 8 -69 53 12 -2]))
(There should be no line wrap in the preceding line.)
Enter as many times as you'd like. The deadline for submissions is midnight, Friday, October 1. Jiro and I will evaluate all entries and decide jointly who wins, and our decision will be deemed final!
Good luck, and happy MATLABbing!
Get the MATLAB code
Published with MATLAB® 7.10
Comments are closed.
9 CommentsOldest to Newest
nice game … and nice trick to give securely his email using the char command!!
LOL at your e-mail address! :D
The “GET THE IMAGE” link is broken.
Thanks, Matthew. I had the file on our FTP server, and it timed out automatically. I’ve re-uploaded the file, and the link is working again.
Is the competition still open? I hear no one has submitted codes.
We’ve gotten a couple entries now. But…executive decision: go ahead and post your code. I’ll continue to accept entries until I write next week’s blog post. Say…Wednesday. Good luck!
Hi! I know i late… I propose a solution which, in any case has to do with competition.Maybe it will be shorter than the others – who knows! After other attempts I finally settled on this one.My conclusions: (1) from an old friend to get rid of (even using a great MATLAB!) impossible, (2) in memory is always the “ice of separation” (a bright spot in the background), (3) life before and after parting separated by “stepping stone” (mountains in the background). Sincerely, Igor..
%|… safe travels, Bob!
%| (1) correlation? Steve? Help? Old photo…
%| (2) reconstruction? mask? Help? Old photo?
%| (3) roifill? mask? Help? Old photo?
%| (4) color? red? green? white? Help?
%| (5) boxbending? cut? mask? Returne?
%| (6) cut?returne?
I0 = imread(filename);
id = im2double(I0);
[jx jy jz] = size(id);
j1 = id(1:jx,1:jy/2-130,1:jz);
j2 = id(1:jx,jy/2+90:end,1:jz);
nj = cat(2,j1,j2);
njr = imresize(nj, jy/(jy-220));
I’m not able to “Get the image” from the link you have provided.
And what’s a good way to decide the threshold for different segmentation tasks? Otsu’s method performs poorly, any comments?