Search found 202 matches

by Paul Cerkez
12 Aug 2013 11:25
Forum: Visual Prolog
Topic: VIP and GPUs/ CUDA
Replies: 5
Views: 3071

thanks. I had looked at Gildas' FANN back a few years ago. (about the Faro VIP ALC time frame). Looks like I may have to re-visit it. This is in line with what I was sort of expecting I would have to do. (just a little bit of work and time will be required :-) ) I was sort of thinking that instead o...
by Paul Cerkez
7 Aug 2013 0:17
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 7222

If I can dig up my whoel application for creating my sample images I will upload it.

One thing I do remember is I did seem to have lots of problems early on, this only seems to work with BMP images. when I tried using JPGs, PNGs and others I seemed to have lots of problems.

P.
by Paul Cerkez
6 Aug 2013 11:47
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 7222

Where did you see your controlRCT? In the task window of your program? do you mean where could I visually see what I drew? in single image mode, yes, there was a bitmap control in a dialog on the task window. for Batch mode (which is what the above code is from) there was no visual presentation. I ...
by Paul Cerkez
5 Aug 2013 17:00
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 7222

Frank, In the main Task window, I did create a form to do a bunch of things. within that was a picture control to display the image when i was doing single image updates/modifications. However, when I did batch processing, it was all done in the background, only the main task window showing. No form...
by Paul Cerkez
5 Aug 2013 11:11
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 7222

Frank,
It was available in 7.2,

this was the 'header' in the file i used it in:

Code: Select all

implement graphicMorse     inherits userControlSupport     open core, vpiDomains

P.
by Paul Cerkez
7 Jul 2013 19:39
Forum: Visual Prolog
Topic: VIP and GPUs/ CUDA
Replies: 5
Views: 3071

parallel programming with VIP

bumping this thread back to the top. I am researching more into CUDA and GPUs and am looking at the possibility of offloading some of the NN calculations I do in VIP to a GPU. In my NN implementation, there are more than a few operations that are obviously well suited for a parallel environment but ...
by Paul Cerkez
12 Jun 2013 0:24
Forum: Visual Prolog
Topic: e631 The predicate 'main::run/0', which is declared as 'procedure', is actually 'determ'
Replies: 3
Views: 5699

there may be in a subordinate predicate that can fail, causing VIP to backtrack into run. Because that subordiante predicate can fail, it causes run to fail. hence DETERM vs. Procedure. this will cause error predicates do_it(). clauses do_it:- fail. run :- do_it. this one will work predicates do_it(...
by Paul Cerkez
6 Jun 2013 17:15
Forum: Visual Prolog
Topic: Wha is wrong with this simple code ?
Replies: 3
Views: 1652

didn't know that Thomas, thanks for the heads up.
by Paul Cerkez
5 Jun 2013 19:26
Forum: Visual Prolog
Topic: Wha is wrong with this simple code ?
Replies: 3
Views: 1652

I don't have VIP ointhgis computer but the problem is, that hter eis the potential for multiple responses. You need to do one of two things: add a cut after your decisions or sligtly modify your clauses: both examples below: predicates logic: (integer A, integer B, integer C) procedure(i,i,o) . clau...
by Paul Cerkez
22 May 2013 18:04
Forum: Visual Prolog
Topic: Have you a code formatting utility?
Replies: 15
Views: 5847

sorry for the delay responding, been swamped with work and meetings. when I used it with VIP, it was in the later VIP5.x and early VIP6 days. I no longer have the .syn file i created but I don't remember issues with wrapping or indenting. I tend not to exceed 80 to 90 characters in a line anyway (ho...
by Paul Cerkez
17 May 2013 11:00
Forum: Visual Prolog
Topic: Have you a code formatting utility?
Replies: 15
Views: 5847

I use a product called TextPad From Helios Software Solutions. (http://www.textpad.com/) I have version 4 but they are up to 7 now. it has a lot of flexibilty and user can define many functions. while it has built-ins for color coding and formating for Jave and supports compiling Java it also suppor...
by Paul Cerkez
25 Apr 2013 12:33
Forum: Visual Prolog
Topic: Please, compare drawing predicates of packages VPI and windowGDI
Replies: 8
Views: 1726

Frank, In repsonse to your other question: My research was in steganography at the image content level but I needed access to the Bit level in order to process the data through the neural network. Simple pixel color was not enough. Later, once the NN learned at the bit level, I was then able to move...
by Paul Cerkez
25 Apr 2013 12:23
Forum: Visual Prolog
Topic: Please, compare drawing predicates of packages VPI and windowGDI
Replies: 8
Views: 1726

Frank, the GDIPlus (usually seen as GDI+) is a very powerful set of drawing capability functions for Windows XP and later operating systems. it provides device independence when doing graphics. the one thing I experienced when I tried to pull bit level (not Pixel/color level) data was that it was ne...
by Paul Cerkez
24 Apr 2013 23:10
Forum: Visual Prolog
Topic: Hello, I am trying to create a chain reaction among the balls, unfortunately without success.
Replies: 7
Views: 1484

in the case of the sample, it is passing bound variables across all attributes. in your case, because you have declared cascade(X,Y,true,true, X,Y) as (i,i,i,o,o,o) and you are only passing the left 3, it will always return the right 3 as whatever the left 3 were because they are bound to the left 3...
by Paul Cerkez
24 Apr 2013 16:55
Forum: Visual Prolog
Topic: Hello, I am trying to create a chain reaction among the balls, unfortunately without success.
Replies: 7
Views: 1484

I think I understand what you are trying to do but not sure ... anyway, in your 2nd clause, you have cascade(Xhits,Yhits,Flag,Hit, X,Y):- shape(0,pnt(Xhits,Yhits),_), shape(0,pnt(X,Y),_), if vx<0 then the one thing that jumps out at me is you don't define vx so I believe that whole section is dismis...