Answered

TSP using GA

If this is so urgent for you, did you anything to find available code? Apparently not. Searching google with "tsp matlab ga" dir...

TSP using GA

If this is so urgent for you, did you anything to find available code? Apparently not. Searching google with "tsp matlab ga" dir...

circa 11 anni ago | 0

Answered

Edge direction

Hi, to extract edges of any direction, you just need to choose the right structuring element for a morphological opening. E....

Edge direction

Hi, to extract edges of any direction, you just need to choose the right structuring element for a morphological opening. E....

circa 11 anni ago | 3

| accepted

Answered

How to make a 2-d binary shape a little more round?

You could also use a median filter to remove small objects and irregular boundaries. In a BW image, the median image would act l...

How to make a 2-d binary shape a little more round?

You could also use a median filter to remove small objects and irregular boundaries. In a BW image, the median image would act l...

circa 11 anni ago | 0

Answered

Locating the end points of a bridge-like structure in an image

Hi G, you might identify these two points by calculating a skeletonization of your BW-image. SK = bwmorph(BW,'skel',inf...

Locating the end points of a bridge-like structure in an image

Hi G, you might identify these two points by calculating a skeletonization of your BW-image. SK = bwmorph(BW,'skel',inf...

circa 11 anni ago | 0

Answered

simulating traffice regulations with cellular automaton

Hi Sandeep, as a first step, take a look at steve's image processing blog. There is an example of how to implement one of the...

simulating traffice regulations with cellular automaton

Hi Sandeep, as a first step, take a look at steve's image processing blog. There is an example of how to implement one of the...

circa 11 anni ago | 0

Answered

Image Segmentation built into MATLAB?!

Hi Philip, look at the function watershed. In addition, there is a very good example using morphological reconstruction. do...

Image Segmentation built into MATLAB?!

Hi Philip, look at the function watershed. In addition, there is a very good example using morphological reconstruction. do...

circa 11 anni ago | 0

Answered

Draw normal to edge detection image

You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors. HTH, W.

Draw normal to edge detection image

You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors. HTH, W.

circa 11 anni ago | 0

Answered

finding distance within a range of distance

How about [X,Y] = meshgrid(1:size(I,2),1:size(I,1)); ix = find(I == 5); d = hypot(bsxfun(@minus,X(ix),X(ix)'),bsxfun(@min...

finding distance within a range of distance

How about [X,Y] = meshgrid(1:size(I,2),1:size(I,1)); ix = find(I == 5); d = hypot(bsxfun(@minus,X(ix),X(ix)'),bsxfun(@min...

circa 11 anni ago | 0

Answered

Are iterative methods always better than direct methods for solving large linear systems?

Why is performance a problem? Do you have to solve the system repeatedly or do you want to solve larger systems? If former is th...

Are iterative methods always better than direct methods for solving large linear systems?

Why is performance a problem? Do you have to solve the system repeatedly or do you want to solve larger systems? If former is th...

circa 11 anni ago | 1

Answered

local variation of image

Hi, <http://www.mathworks.com/help/toolbox/images/ref/stdfilt.html> or doc stdfilt Hope this helps, Wolfgang

local variation of image

Hi, <http://www.mathworks.com/help/toolbox/images/ref/stdfilt.html> or doc stdfilt Hope this helps, Wolfgang

circa 11 anni ago | 1

Answered

Automatic cropping

You might find this function useful: <http://www.mathworks.com/matlabcentral/fileexchange/25354-cropmat> HTH, Wolfgang

Automatic cropping

You might find this function useful: <http://www.mathworks.com/matlabcentral/fileexchange/25354-cropmat> HTH, Wolfgang

circa 11 anni ago | 0

Answered

How to find row and column of a pixel in an Image?

Hi, what about this: [ROWS,COLUMNS] = ndgrid(1:size(I,1),1:size(I,2)); ROWS = ROWS(:); COLUMNS = COLUMNS(:); w...

How to find row and column of a pixel in an Image?

Hi, what about this: [ROWS,COLUMNS] = ndgrid(1:size(I,1),1:size(I,2)); ROWS = ROWS(:); COLUMNS = COLUMNS(:); w...

circa 11 anni ago | 0

| accepted

Answered

Grouping data according to the connected components, which may have a value 1 unit different

You might want to take a look at Tim Davis' function find_components ( <http://www.mathworks.com/matlabcentral/fileexchange/213...

Grouping data according to the connected components, which may have a value 1 unit different

You might want to take a look at Tim Davis' function find_components ( <http://www.mathworks.com/matlabcentral/fileexchange/213...

circa 11 anni ago | 0

| accepted