English 中文(简体)
Object detection/tracking within Java [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

I m looking to do some image processing in Java and I ll be developing in Ubuntu with Eclipse. So here is my objective:

From a greyscale image, I would like to be able to detect certain sized objects and draw a rectangular frame around them. However, the catch is that this image is captured from a thermal imaging camera so to detect body heat the pixels will have a value within a certain range. After detecting all the objects in the image, I will need to count them, but that s later.

So here s my challenge. Which tools/apis/open classes can I use to do something like this. I looked around and found some basic manipulations such as rotate, crop, resize. But haven t really found anything I can use.

Where should I look/start?

thanks a lot in advance

最佳回答

ImageJ is very useful: http://rsbweb.nih.gov/ij/

Although ImageJ is set up as a GUI, you can use it as a library too (I do that too)

You ll have to search for a proper object detection plugin (but there are some floating around...)

good luck! Eelco

问题回答

On this page you can find open-source tool for image processing and image mining: http://spl.utko.feec.vutbr.cz/en/image-processing-extension-for-rapidminer-5

This article fully explains the algorithm you re looking for, and the accompanying source code is here. You can see it in action in this video.

(Disclaimer: I m the author; but I do think this is very useful, and have successfully used the algorithm a lot myself.)

The algorithm tracks moving objects, finds their bounding rectangle (which the application draws), counts the number of pixels in each objects, correlates them throughout frames as the same object (with an int ID). You may need to do a trival conversion of your grayscale image to RGB (by copying the gray values to all three channels) since the algorithm was designed for color input.

When it comes to commercial computer vision applications, OpenCV and the Point Cloud Library aka PCL are your best friends. And articles like the one linked explains how to use tools like OpenCV to accomplish full stack motion tracking. (The pure Java implementation shows how it works down to the individual pixels.)





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签