Posted by
dscho on
Jul 22, 2013; 3:01pm
URL: http://imagej.273.s1.nabble.com/Finding-area-of-a-triangle-shape-within-a-complex-image-of-a-single-color-tp5004059p5004070.html
Hi Tony,
On Sat, 20 Jul 2013, Burinok wrote:
> I have been searching for a way to find the area of a piece of an object
> in imageJ. Unfortunately, there is no contrast difference to be used.
In your example, there is quite a clear contrast between blue (foreground0
and white (background)... what do your *real* images look like?
> I attach an example that I drew up in powerpoint here. The goal would be
> to find the area of the triangle on the left.
Note that there is also a triangle on the right, even if its upper and
lower corners do not extend beyond the middle rectangle.
> I have not come across any solutions that could do it if the object was
> all of a single color. Does anyone have any suggestions?
Traditionally, ImageJ's strength lies in bio-medical image processing
applications, and this one strikes me more like a traditional, industrial
machine vision problem.
Having said that, if a real big (but simple) hammer fits your needs, you
could implement a custom Hough transform that identifies triangles.
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html