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

13 years ago | 0

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

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

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

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

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

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

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

13 years ago | 0

Answered
how to find mean of an image
m = mean(I(:));

13 years ago | 2

| accepted

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

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

13 years 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

13 years ago | 1

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

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

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

13 years ago | 0

| accepted