Fast read pixel of the image file

This forum is for eXpress++ general support.
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Fast read pixel of the image file

#21 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Fast read pixel of the image file

#22 Post 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

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Fast read pixel of the image file

#23 Post by Eugene Lutsenko »

Hi Roger!
As with your fast graphics using standard graphics functions, such as: GraLine(), GraGradient(), GraArc (), and others.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Fast read pixel of the image file

#24 Post 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?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Fast read pixel of the image file

#25 Post 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!

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Fast read pixel of the image file

#26 Post by Eugene Lutsenko »

How to use a standard graphics operators Alaska together with fast graphics from Roger?

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Fast read pixel of the image file

#27 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Fast read pixel of the image file

#28 Post by Eugene Lutsenko »

Thank you, Roger!
I want to use this opportunity in this program:
Attachments
Downloads.rar
(69.15 KiB) Downloaded 632 times

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Fast read pixel of the image file

#29 Post 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
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Fast read pixel of the image file

#30 Post by rdonnay »

Here is a modified PIXEL.PRG where Gra*() functions are used to paint over the pixels drawn by GDI functions.
Attachments
pixel.zip
(2.23 KiB) Downloaded 591 times
The eXpress train is coming - and it has more cars.

Post Reply