Risposto

Is there a way to prevent or circumvent the formation of long edges in a Deluanay Triangulation?

Hi AJP, without knowing what exactly yoou want to do, I like to link to a tool that was extremely helful to me. <http://w...

Is there a way to prevent or circumvent the formation of long edges in a Deluanay Triangulation?

Hi AJP, without knowing what exactly yoou want to do, I like to link to a tool that was extremely helful to me. <http://w...

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

Risposto

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....

oltre 11 anni fa | 3

| accettato

Risposto

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...

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

Risposto

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.

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 1

Risposto

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

oltre 11 anni fa | 1

Risposto

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

oltre 11 anni fa | 0

Risposto

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...

oltre 11 anni fa | 0

| accettato

Risposto

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...

oltre 11 anni fa | 0

| accettato