Вопрос

I am working on a project to monitor if human tissue has been fused with radio frequency during the surgery or not, therefore we are using a very fast camera (1800fps) and also laser illumination on the tissue and a framegrabber (1GB memory).

At the moment we have a software based on C which is only getting the data from the grabber and passes it on the PC also show the images in Screen but I need to add an algorithm to grab all the frames from the framegrabber and analyze them with a mask and also calculate the contrast deviation of temporal images in real time.

I think there must be a framework out there which help me for the image analyzing in C++. What do you suggest? Zhat would be the best option for me to do the processing as fast as possible in real time ? OpenCV? OpenGL? GLPlus?

Это было полезно?

Решение

OpenCV Is your buddy for the tasks that you want to achieve. It basically supports lots of image processing functions, supports reading videos via FFMPEG and has camera capture options too. With OpenCV on TBB and GPU enabled primitives, you can definitely harness GPU power for the sake of speed. Plus tonnes of community contribution is easily available as OpenCV is slowly but surely becoming a MUST know tool for image analysis experts/developers.

You might go for OpenGL. But it would suit 3D graphics type of projects more than just processing videos/image/frames.

Другие советы

to answer your question I think you should look into OpenCV and ITK, the second one being somehow more popular in the medical imaging community.

That being said, what kind of processing do you intend to do? At these framerates you can only do simple things. I know that some frame grabbers can preprocess images for you and that might be enough for your application. IMO GPU computing is out of the question because of the data transfers and the simplicity of your computation

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top