OpenCV HoughTransformation in Swift - c++

I'm about to program a project in which I need to extract the straight lines out of an image.
The first thing that came to my mind is Hough Transformation. So I downloaded the OpenCV framework, added it to my project. Added the Bridging Header as well as the OpenCVWrapper.h and the OpenCVWrapper.mm files. But I can't find any tutorial on how to implement the hough transformation into my swift project. So what sort of files do I need to create to write the function in? And how should that function look like?
I'm happy to hear any helpful suggestion!
Kind regards
Robert

I'm also currently working on OpenCV with Swift, it indeed didn't have much tutorial about it.
About the Hound Transformation, here is the link to the documentation, hope it helps.
And this project helps a lot when I want some reference.
Good luck!

Related

Python OpenCv Homography

I am new to opencv and after an extensive search I have not found any detailed explanation to how one can implement a homograph. For example if I wanted to say... have a side shot of a chess board or a book and wanted to make a new image look as if the original were shot head on. I would try providing some code to show I attempted a solution but outside of knowing some of the functions I would need I am not sure how to implement them to solve my problem.
I am using python 2.7
thank you,

my first Qt application, c++ (little opencv)

I am to make a little demo app to learn some Qt and c++ and if anyone know some guides that might be good for this project i am happy to hear about it.
What i wanna do:
I want to make an app where i can open a folder location of training data(images). Then i want to show the images one by one and mark ROI (rects, cirles, polygons) or bounding boxes of objects. The reason is to mark objects in pictures and then same this regions to a file for later use for image processing in matlab or similar apps.
Thanks.
Qt has lots of very good official tutorials
Try playing with example projects. You can start by changing an example projects to suite your needs.

Global Movement Estimation of squence of images in C++

I need to find a C++ library to find the global movement estimation for a project of super resolution of medical images. But I'm not aware of any of them. Does anyone know a library that could help me do this? I've heard of OpenCV but haven't found anything, maybe I wasn't looking at the right thing.
Thank you.
This looks like a good starting point:
http://www.cvpapers.com/rr.html
although I'm surprised to not see VXL on the list:
http://vxl.sourceforge.net
Have fun!

C/C++ Code Examples with HTK (Hidden Markov Toolkit)

I am trying to get started with HTK, I grabbed a copy, compiled it, grabbed the book, and all went more or less fine, little troubles here and there but nothing serious.
Now after reading the book and googling quite a while, I do not see any documentation for the essential part for me: HTKLib. Everything is described into the smallest detail for all HTK tool programs (scriptable command line interface tools) but I cannot find a single example or tutorial how to actually call the lib.
Could anyone point me into a direction?
The source code for the respective tools is included, but it would be rather cumbersome to have to extract the information for a reputable library by reading the source code... I would have expected a little more documentation , but maybe I simply overlooked it?
Any help is deeply appreciated,
Tom
edit:
I was trying to use HTK for computer vision purposes, not for NLP, and for that I required that I could link against it, and call it from within my code. Thanks for your replies.
Maybe ATK is more suitable for you. Here is the explantation from the ATK site:
"ATK is an API designed to facilitate building experimental applications for HTK. It consists of a C++ layer sitting on top of the standard HTK libraries."
In addition Microsoft Research has another research tool here for training acoustic models. This includes a set visual project for HTKlib and a set of C++ HTK wrappers, but it may only include a subset of the HTK functionality and has licence restrictions.
I have not used it but use I the language modeling toolkit. I think the main intention is to use the command line tools provided. I imagine they are very flexible tools that will enable you to build and test models. Why do you want to use the code?
Also what are you trying to do?

3d max integration with c++, Cal3D where to start?

okay i'm making a game using c++ (for the engine) and openGL, now i've had lots of trouble using cal3d library for importing my 3d max models into my c++ project,
as a matter of fact i dunno where to even start, i can't find any decent guide and their documentation is pure shit really. i've been searching and trying stuff in this for over a month, but i don't even understand the file structure it uses so far :S
i really need some help, r there any other libraries? any decent guide i can use? i'm stuck
thnx alot
Rather than write your own exporter, consider using one of the built-in exporters for FBX, COLLADA, Crosswalk (.XSI), the Quake/Doom3 .MD3/.MD4 format, or even OBJ. It'll be much easier to parse the resulting file format on your end than to write and maintain a brand-new exporter.
Max is a complete pain for any kind of scripting or plugin. I'd suggest using maya instead if at all possible. You'll get better results for animation and rigging, too. I know it's not a direct answer to your question but part of the problem is the info for stuff like this is not easy to come by.