Page 3 of 4

Re: Fast read pixel of the image file

Posted: Fri Mar 04, 2016 8:51 am
by rdonnay
Can you give me a program that will compile and run?

I would like to add some debugging to see where it is slow and how I can improve performance.

Re: Fast read pixel of the image file

Posted: Fri Mar 04, 2016 11:06 am
by Eugene Lutsenko
Program Alaska: http://lc.kubagro.ru/Dima/Triangl1.zip
Prototype Pascal: http://lc.kubagro.ru/Dima/TriDelone.zip

She somehow did not really work. I'll try to change the array to the database and to declare arrays LOCAL

Re: Fast read pixel of the image file

Posted: Sat Mar 05, 2016 12:29 am
by Eugene Lutsenko
Hi Roger!
As with your fast graphics using standard graphics functions, such as: GraLine(), GraGradient(), GraArc (), and others.

Re: Fast read pixel of the image file

Posted: Sat Mar 05, 2016 2:43 pm
by rdonnay
She somehow did not really work.
What is it that does not work?

I am not a mathematician and really don't know what you are trying to achieve.
I understand that your converted a Pascal program to Xbase++.

Are you wanting me to help with this conversion?

Re: Fast read pixel of the image file

Posted: Sat Mar 05, 2016 3:04 pm
by Eugene Lutsenko
In this case, I was not trying to directly convert the Pascal program in Alaska. Pascal program I was only needed as a prototype. I'm trying to prepare the ground for decisions ability to make some tasks that require the Delaunay triangulation. pascal program helped me a lot. Your schedule is working fine. But I would like to use it in conjunction with the standard and schedule. And I do not know how to do it. That's asking you to prompt, if applicable.

This program works better. When I finish it - be sure to share with the forum participants.

What is cassettes conversion Pascal program in Alaska is actually hand I have done it. And I understand how it can be automated. I worked a lot with the automated processing of text, including text programs. If you need, I can do something like a demo program which demonstrates this approach. But before the end automate this transformation might not work. In any case it is not so simple. But this program will do 90% of rough work. After it will only need a little hand to brush the resulting program.

Separate huge gratitude to you for your work and support of our crazy ideas!

Re: Fast read pixel of the image file

Posted: Thu Mar 10, 2016 1:31 pm
by Eugene Lutsenko
How to use a standard graphics operators Alaska together with fast graphics from Roger?

Re: Fast read pixel of the image file

Posted: Thu Mar 10, 2016 2:07 pm
by rdonnay
How to use a standard graphics operators Alaska together with fast graphics from Roger?
I will put together a sample for you in the next few days.

Re: Fast read pixel of the image file

Posted: Thu Mar 10, 2016 8:41 pm
by Eugene Lutsenko
Thank you, Roger!
I want to use this opportunity in this program:

Re: Fast read pixel of the image file

Posted: Thu Mar 10, 2016 10:53 pm
by Auge_Ohr
Eugene Lutsenko wrote:I want to use this opportunity in this program:
you do not need any API Call for your Delaunay triangulation Problem.
just use a normal Presspace() with GraLine() and GraArc() as i show in my Demo
http://bb.donnay-software.com/donnay/vi ... f=7&t=1806

Re: Fast read pixel of the image file

Posted: Fri Mar 11, 2016 7:11 am
by rdonnay
Here is a modified PIXEL.PRG where Gra*() functions are used to paint over the pixels drawn by GDI functions.