Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Submitted

Feret diameter and oriented box

Compute Feret diameters and oriented bounding box from label image

8 years ago | 5 downloads |

Submitted

Correlation circles

Display correlation matrix using colored circles

8 years ago | 8 downloads |

Answered

how to read 3-D medical image

Hi, there are plenty of contributions on the file exchange. In particular a contribution called "Read medical data 3D"... <...

how to read 3-D medical image

Hi, there are plenty of contributions on the file exchange. In particular a contribution called "Read medical data 3D"... <...

9 years ago | 0

| accepted

Answered

How to find distance in binary image?

Hi maria, If you consider a label image (one label for each line), you can call "bwdist" function for each label "i". Then, for...

How to find distance in binary image?

Hi maria, If you consider a label image (one label for each line), you can call "bwdist" function for each label "i". Then, for...

9 years ago | 0

Answered

How does this function "regionprops" to find the orientation of any object?

Hi Marian, the code is in the regionprops function, you can access it via "edit regionprops", and checking the "ComputeEllips...

How does this function "regionprops" to find the orientation of any object?

Hi Marian, the code is in the regionprops function, you can access it via "edit regionprops", and checking the "ComputeEllips...

9 years ago | 3

| accepted

Answered

superimpose points on image

Hi Milenko, One solution is to display the image (using etiher imshow, imagesc...), call "hold on", then plot the points at t...

superimpose points on image

Hi Milenko, One solution is to display the image (using etiher imshow, imagesc...), call "hold on", then plot the points at t...

9 years ago | 0

| accepted

Answered

How to rotate a plane in 3D around arbitrary point ?

Hi, Maybe you can decompose the procedure in two steps. First you apply the linear part of the transform to the normal vecto...

How to rotate a plane in 3D around arbitrary point ?

Hi, Maybe you can decompose the procedure in two steps. First you apply the linear part of the transform to the normal vecto...

9 years ago | 0

| accepted

Answered

How do i calculate hessian matrix for an image?

Hi, you need to compute second derivatives in each direction, using something like: [gx, gy] = gradient(double(img)); [g...

How do i calculate hessian matrix for an image?

Hi, you need to compute second derivatives in each direction, using something like: [gx, gy] = gradient(double(img)); [g...

9 years ago | 5

| accepted

Answered

How to extract the ROI using impoly?

Hi, You should use either imcrop, or impoly. Using imcrop, you can select a rectangular region of interset. By the way, th...

How to extract the ROI using impoly?

Hi, You should use either imcrop, or impoly. Using imcrop, you can select a rectangular region of interset. By the way, th...

10 years ago | 0

| accepted

Answered

HOW TO FIND THE DIAMETER FOR THE IRREGULAR SHAPE OF AN IMAGE

Hi, in the image processing toolbox there is a function "regionprops" that gives you the equivalent diameter of a particle. Y...

HOW TO FIND THE DIAMETER FOR THE IRREGULAR SHAPE OF AN IMAGE

Hi, in the image processing toolbox there is a function "regionprops" that gives you the equivalent diameter of a particle. Y...

10 years ago | 0

Answered

how to select a particular portion in am image automatically?

Hi, using imcrop you can also specify the coordinates of the box. Then you do not have to click. But you have to know the pos...

how to select a particular portion in am image automatically?

Hi, using imcrop you can also specify the coordinates of the box. Then you do not have to click. But you have to know the pos...

10 years ago | 0

| accepted

Answered

How to save triangulation mesh as a volume?

Hi, If your definition of volume is a 3D binary matrix/image, I would suggest using the polygon2Voxel tool from Dirk-Jan Kroo...

How to save triangulation mesh as a volume?

Hi, If your definition of volume is a 3D binary matrix/image, I would suggest using the polygon2Voxel tool from Dirk-Jan Kroo...

10 years ago | 2

| accepted

Answered

Plotting 3d Sphere with specific radius

Hi, maybe by specifying the radius as a scaling factor: surf(x*r+a, y*r+b, z*r+c); axis equal;

Plotting 3d Sphere with specific radius

Hi, maybe by specifying the radius as a scaling factor: surf(x*r+a, y*r+b, z*r+c); axis equal;

10 years ago | 4

| accepted

Answered

removing some connected component

Hi Selim, if your input is a label image, you can use the following syntax: img(img == ind) = 0; This will detect wh...

removing some connected component

Hi Selim, if your input is a label image, you can use the following syntax: img(img == ind) = 0; This will detect wh...

10 years ago | 1

| accepted

Answered

i couldn't understand convex area

Hi Selim, the 'convexArea' property corresponds the area of the convex hull of the region. The convex hull of a region is the...

i couldn't understand convex area

Hi Selim, the 'convexArea' property corresponds the area of the convex hull of the region. The convex hull of a region is the...

10 years ago | 2

| accepted

Answered

Plotting an Ellipse

Hi, Maybe the best way to draw an ellipse is to use its parametric form: % compute points corresponding to axis-oriented...

Plotting an Ellipse

Hi, Maybe the best way to draw an ellipse is to use its parametric form: % compute points corresponding to axis-oriented...

10 years ago | 0

Submitted

double2rgb

Converts an array of double (2D or 3D) to an RGB image using specified colormap

11 years ago | 6 downloads |

Submitted

imOverlay

Add colored markers to an image, that can be 2D or 3D, grayscale or color.

12 years ago | 3 downloads |