1032
Hello every body, I have a polygon consisting of 26 points as shown in the figure. i would just like to smoothen the edges. Could you suggest me some simple way to do it? Thanks in advance.
Type: Posts; User: jenny_wui
1032
Hello every body, I have a polygon consisting of 26 points as shown in the figure. i would just like to smoothen the edges. Could you suggest me some simple way to do it? Thanks in advance.
Thanks, a nice implementation has been given to the following link:
http://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain
I need to find convex hull in 2D. Actually I am looking for some relevant code in the net. Thanks.
Hello every body, I need to find the convex hull of a set of points. Could any one help me how that can be done. Lastly, I need to find the boundary of the convex hull. Thanks.
Thanks a lot.
Thank you very much Little body, I have installed devil and tried your code. It works fine in loading a jpeg image. Now Could you help a bit more. How to manipulate the pixel values of my image and...
I tried to look at libjpeg website, but didn't find any particular direction/ example about the use of it. Please provide me some suggestions.
As i need to manipulate the pixel value and I have already started coding in C, I just need the information from where the image data starts i.e. what is the marker for that as I already have the...
Hello, I would like to read a jpeg file and display the pixel using glColor3f. I have extracted the pixel dimension from the image.
Now my quetion is pixelWidth by pixelHeight are the number of...
Thanks for the reply. Could you explain the process a bit more? It would be good if you can provide some link to some examples.
Thank for the reply. Suppose, I would like to convert grey values to rgb, i,e, '0' meaning pure blue and '255' pure red with green in between, then how to write in glColor3f(r,g,b)?
I have one image displayed in grey scale with pixel values range from (0 to 255). How to display the image in grey scale? I use glColor3f( r, g, b, 1.0) for diplaying colored image. How to use it for...
1010
Hello, need some suggestion about image processing to know whether it can be done using C /c++ as I am not familiar with MATLAB. I have attached one image. The arrow in the image show the...
I have been able to read my raw images. 256 by256 with 1 byte per pixel. I have such 30 sections. I would like to do surface rendering. I would like to read the data and reconstruct the model. Could...
Hello, I have a set of Disc Image File s. I need to reconstruct 3D model out of these images. Could anybody let me know how can I reconstruct 3D model from these images?
Thanks in advance.
Thank you so much for the clarification.
Thank you very much for the clarification. That meanstexture coordinate varies according to theta i.e. (1 + cos(theta))/2,(1 +sin(theta))/2).
Suppose, for each triangle in the disk, the coordinates...
Thank you. So for inbetween values of theta, u,v, will be linearly interpolated. Is it?
Could you explain a bit about why you are assigning those values to u and v?
Thanks again in advance.
I am trying to map a texture on a disk. Each coordinate on the disk is defined by (rscos(theta), rsin(theta), 0). I know texture value ranges from (0,0) to (1,1). How to map texture coordinates to...
I have done it by setting the diffuse material component to green and diffuse color to red. The object looks black. Is it ok?
I am working with some lighting programming in OpenGL. I have a red sphere. Now when I make the diffuse light green, the sphere should look black, but I find the sphere looks still red. How can that...
Has anyone ever compiled Matrox Imaging Library with OpenGL? I urgently need to process a MIL avi file and convert it to some MP$ format. If any one has already experience in using it, please help me.
Thank you very much for taking time to reply. I can extract the irregular boundary outline using matlab. MATLAB also gives the color at different gtid points. My main question how to polygonize the...
980
I have a regular grid. I need to subtract someirregular part from it as shown in the figure. I know the coordinates of theportion to be subtracted. How can I polygonize the rest of the grid...
Thank you very much for the suggestion.