ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Compare image and calculated rings
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

maxnovikov

Russia
4 Posts

Posted - Apr 03 2017 :  11:48:53  Show Profile  Reply
Hello!
I would like compare image of diffraction pattern and calculated one as set of rings. What is best strategy and what component is most suitable ?


regards,

regards,

xequte

38610 Posts

Posted - Apr 04 2017 :  16:55:42  Show Profile  Reply
ImageEn's only comparison method is:

TImageEnProc.CompareWith

https://www.imageen.com/help/TImageEnProc.CompareWith.html

You can see a demo at:

Demos\ImageAnalysis\ImagesDiff\ImagesDiff.dpr

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

maxnovikov

Russia
4 Posts

Posted - Apr 08 2017 :  12:52:55  Show Profile  Reply
What's about two layers? The first contains original image and the second one is transparent and contains the calculated rings...

regards,
Go to Top of Page

xequte

38610 Posts

Posted - Apr 10 2017 :  01:46:41  Show Profile  Reply
You should be able to use:

// Compare layer 1 and layer 2
ImageEnView1.CurrentLayer := 1;
Eq := ImageEnView1.CompareWith( ImageEnView1.Layers[2].Bitmap, nil );


Though the transparency will not be taken into account.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: