what does ** mean in C?

What does it mean when a object has 2 asterisks at the beginning? **variable ...

Looping through a real spiral on a discrete grid?

The goal is to find a closest pixel with a certain value. To do that, I want to loop over the pixel, starting from t...

How to draw a rounded line shape using Qt??

How can I draw rounded line shape using QT. like this image.I need to design a rounded line when the button click. ...

opengl texture not rendering properly?

I'm trying to render a wolf model. I've got the model to render properly. However, the texture I haven't gotten to...

.exe not showing “Press any key to continue…”?

In Visual Studio whenever I start without debugging, the .exe file that shows up does not contain the phrase "Press...

Draw a line and curves with fading edges with QPainter?

QPainter is very easy to use and to draw a line one would simply do this: QPainter painter(&image); QPen pen; p...

Generic Graph Lib in Delphi, Speed of ObjectList?

we are developing an generic graph library using DELPHI XE7. The target graph size is ~ 1 MIO vertex nodes and ~ 1...

Convert a rectangular grid of points into a hexagonal grid?

I have a rectangular grid of points like this and I want to get indices of these points which forms a hexagonal grid...

Recognize open and closed shapes opencv?

how to detect open and closed shapes in opencv. These are simple sample shapes I want to detect. I have detected ...

How to determine whether two edge images should match?

I am using background subtraction to see if something has entered the viewpoint of my camera. Sometimes, this is re...

How to create a semi transparent shape??

I would like to know how to draw semi-transparent shapes in OpenCV, similar to those in the image below (from http:/...

C++ 16 bit grayscale gradient image from 2D array?

I'm currently trying to build a 16 bit grayscale "gradient" image but my output looks weird so I'm clearly not under...

Function stoi not declared?

I'm trying to use stoi to convert a string to an integer, however it says it's not declared. I have the standard lib...

Align profile face image with its frontal face image?

I have a profile face: and a frontal face image: Output: aligned profile face with reference to frontal face. ...