Image convolution: Difference between revisions

Content added Content deleted
m (Phix/pGUI)
m (→‎{{header|Phix}}: IupDestroy is now a function)
Line 1,666: Line 1,666:
IupSetAttribute(dlg,"TITLE","Working...")
IupSetAttribute(dlg,"TITLE","Working...")
IupSetAttributeHandle(label2, "IMAGE", NULL)
IupSetAttributeHandle(label2, "IMAGE", NULL)
IupDestroy(image2)
image2 = IupDestroy(image2)
image2 = convolute(im1,IupGetInt(filter,"VALUE"))
image2 = convolute(im1,IupGetInt(filter,"VALUE"))
IupSetAttributeHandle(label2, "IMAGE", image2)
IupSetAttributeHandle(label2, "IMAGE", image2)