|
|
centroid
I converted the color image to grey image and got the centroid of a blob in the grey(BW) image how can i show the centroid location on the image using a cross or plus mark.
|
|
0
|
|
|
|
Reply
|
usha
|
9/29/2010 8:26:23 AM |
|
On Sep 29, 4:26=A0am, "usha kiran peddala" <kiran8...@gmail.com> wrote:
> I converted the color image to grey image and got the centroid of a blob =
in the grey(BW) image how can i show the centroid location on the image usi=
ng a cross or plus mark.
-------------------------------------------------------------------
I think this ought to do it:
plot(centroidX, centroidY, 'r+', 'Markersize', 40);
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
9/29/2010 9:57:37 AM
|
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <0e48acff-df35-4ca2-b825-93d996461457@j18g2000yqd.googlegroups.com>...
> On Sep 29, 4:26 am, "usha kiran peddala" <kiran8...@gmail.com> wrote:
> > I converted the color image to grey image and got the centroid of a blob in the grey(BW) image how can i show the centroid location on the image using a cross or plus mark.
>
> -------------------------------------------------------------------
> I think this ought to do it:
>
> plot(centroidX, centroidY, 'r+', 'Markersize', 40);
but i am not able to save the image with the marker.
|
|
0
|
|
|
|
Reply
|
usha
|
10/11/2010 2:34:04 AM
|
|
Finally we have our daily "How do I save a figure?" question. It was getting so late I thought we weren't going to have one today, but you finally came through for us.
The answer is: Use export_fig:
http://www.mathworks.com/matlabcentral/fileexchange/?term=author%3Awoodford
|
|
0
|
|
|
|
Reply
|
Image
|
10/11/2010 2:46:03 AM
|
|
|
3 Replies
233 Views
(page loaded in 0.059 seconds)
Similiar Articles: regionprops(cc, 'Centroid') - comp.soft-sys.matlabDear friends: I did the following code to get the (x,y) of centroid cc = bwconncomp(img, 8); %identify number of objects arrOfCentroid = regio... finding centroid of an 3d object - comp.soft-sys.matlabHi I am trying to find the centroid of an arbitrary 3d shape object on MATLAB. THe 3D object is generated by slices of 2D images. By as we move acros... kmeans centroid with correlation - comp.soft-sys.matlabHow does matlab calculate the centroid when the distance is correlation? I tried to look at the code but it just too much information. For example... real time centroid detection - comp.soft-sys.matlabHi all, Within a video frame, i have a laser dot which is moving. How could i use the centroid function to plot the crosshair on it meanwhile the ... Fitting a circle inside a ROI - comp.soft-sys.matlabTo do this you'd first find the centroid of > the entire circular area, then simply take the three perimeter points > that are CLOSEST to the centroid and pass those ... Gaussian Mixture Model - comp.soft-sys.matlabThen when i try to obtain 4 clusters, the > centroid of clusters become like : > 1.6 , 1.7 , 2.1 , 2.6 .. > According to these results, i may say that group one and ... area of a polygon project - comp.soft-sys.matlabWithin the function file I MUST utilize sub-functions that help calculate a distance between two points, the area of a triangle, and the centroid of a triangle. kmeans function - comp.soft-sys.matlabk means - comp.soft-sys.matlab kmeans centroid with correlation - comp.soft-sys.matlab A bit of an explanation: K-Means the algorithm (as opposed to KMEANS the function ... Pixel Calculation - comp.soft-sys.matlabIf you know the ball is sitting on an assembly line belt in manufacturing, simply threshold the image, find centroid of ball based on projections (remove noise first ... Cell Boundary Detection - comp.soft-sys.matlab... cell_array{ii} = [r,c]; > end > > Now put all of your centroid coordinates in another cell array of the same size and use cellfun to calculate distances: > centroid ... Centroid - Wikipedia, the free encyclopediaIn geometry, the centroid, geometric center, or barycenter of a plane figure or two-dimensional shape X is the intersection of all straight lines that divide X into ... Triangle centroid definition - Math Open ReferenceDefinition and properties of the centroid of a triangle. Includes a cool math applet useful as a classroom activity and manipulative. 7/27/2012 11:27:47 PM
|
|
|
|
|
|
|
|
|