Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
centroid of an image

Subject: centroid of an image

From: Mayank

Date: 5 May, 2009 08:58:02

Message: 1 of 2


I am new to MATLAB and recently started studying MATLAB and it is quite intresting.
I need to find out some features of an image in my project using MATLAB such as dark noise, dead pixels and image centroid and optical centre.

I am learing how to use MATLAB but i dont know the algorithms to implement all these features in MATLAB.

Kindly tell where can I get the details of these features so that i can implement the same in MATLAB??

thanks and regards

Subject: centroid of an image

From: Daniel Armyr

Date: 12 May, 2009 12:49:01

Message: 2 of 2

Generally, it is considdered good custom to do your own homework. Secondly, it is considdered good custom to at least try to do your homework before asking someone else to do it for you.

However, as a good measure, I will show you how to find dead pixels:
deadPixelIndices = find( imageData(:) < deadPixelThreshold );

There are of course many other ways, but that is the simplest one.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us