Source language: Translate to:

Progr

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Progr

Postby Neobook » Sat Dec 16, 2006 11:23 am

Hi,

I want to do a Image Comparator, it's mean when I load 2 pictures, and I click of Compare, it will be search about the difference, in my opinion, it will be compare the pixel.
The 1st is Ok, I need the plugin HpwImage, but the 2nd is not Ok,

When it found the error, it do a red cercle of the error, and I don't know how to do.

Thanks
Last edited by Neobook on Mon Dec 18, 2006 11:26 am, edited 1 time in total.
Neobook
 
Posts: 131
Joined: Sat Jul 01, 2006 7:07 am

Postby HPW » Sat Dec 16, 2006 1:26 pm

When I understand it right he want to know where 2 different image are different. hpwImageCompare can check if 2 areas are equal or not.
In a loop you can scan an image in little pieces for example with a small rectangle of 16x16. When you find a unequal rect you can draw a red rectangel on that place in the second image. This marks the diff (what he named error).

So he seems to need a neoscript to do this check.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Neobook » Sun Dec 17, 2006 2:09 am

Thanks,

But, it is possible that do an automatic red cercle, because I want the program find I do a red cercle and no the humain.

thanks
Neobook
 
Posts: 131
Joined: Sat Jul 01, 2006 7:07 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron