Steve on Image Processing with MATLAB

Image processing concepts, algorithms, and MATLAB

Five years ago: May, June, and July 2006

Much of the information I posted in this blog years ago is still useful today. Image processing theory hasn't been completely overturned since then, and I'm still talking about MATLAB after all. For the benefit of readers who have joined the party more recently, I will occasionally recap the useful bits that I posted about five years ago.

In May, June, and July of 2006 I was still writing posts in my spatial transforms series (inverse mapping; where is the output image; findbounds; translation confusion; and handling noninvertible cases).

I wrote about the L*a*b* color space a couple of times (a Lab-based uniform color scale; hue shifts near the L*=0 axis).

I described an algorithm trick for computing fast local sums.

I showed how to use regionprops to compute the centroids of the pegs in this MRI phantom:

And I answer a popular question (one that Loren has also addressed in her blog): how to do batch processing on a bunch of files, like this:

 files = dir('*.JPG');
 for k = 1:numel(files)
    rgb = imread(files(k).name);
    rgb = rgb(1:1800, 520:2000, :);
    rgb = imresize(rgb, 0.2, 'bicubic');
    imwrite(rgb, ['cropped\' files(k).name]);
 end




Published with MATLAB® 7.13

|
  • print
  • send email

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.