Getting Started with 2D manipulations
-
I have worked almost exclusively with command line and simple GUI applications such as tracking an inventory or creating backups of a filesystem.
I have zero experience writing code that will manipulate an image and I would love at least a few pointers as to the classes I should look at first. Consider a few use cases, which is what really befuddles me.
I have an image containing a postage stamp and I want the user to interactively draw a line around around the stamp or to draw a line along the perforations.
I am simply unsure as to the base Widget or class to use to display the object so that I can then do the interaction portions. Unsure at this point if I want them to maybe just click to identify each corner (I can probably figure that out) or to click and drag to select a rectangle (that feels a bit more difficult).
I am not looking for a lot of detail at the moment, just something to play around with to make sure I am heading off into the right direction.
And now I will go see if I can write something that will simply load a single JPG and attempt to identify lines in the image (auto-identify perforations or auto-identify a stamp in an image to then make sure it is aligned in a specific way). Baby steps.
-
Hi,
For the GUI side, one thing you should check is the graphics view framework. This should allow you to get started.
For the auto detection part, you should check OpenCV.