Code
img1.getRGB(20, 20);
or
img2.GetPixel(20, 20);img1.getRGB(20, 20);
or
img2.GetPixel(20, 20);Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh MaruthiRank #937 · 2.2K reputationPosted Jul 25, 2014, 12:29 PM EDT
Otherwise do it in this way
Nitin PatilRank #2,135 · 668 reputationPosted Jul 25, 2014, 9:55 PM EDT
Code is useful for me but i want to calculate percentage of two images after comparison and that images are created by user free hand movements.
e.g.
i have two images img1 and img2 as shown below they are different in shape but has same pattern like 'O'. so i want high matching percentage ratio in this example.
img1 img2
Nitin PatilRank #2,135 · 668 reputationPosted Jul 29, 2014, 7:29 AM EDT
we can do many image operation using BItmapImage Class and WritableBitmap Class this two classes. Many image comparison methods are used for archiving high accuracy and for best result. We can use some simple functions of BitmapImage class and WritableBitmap class for archiving image comparison with less coding. For this simple technique we need two WritabaleBitmap images with having same size.
So here some sample code are available for Calculating
Image Differences in WP app.
#wpdev #wp8 #apps #developer
http://wpcsharp.blogspot.in/2014/07/calculate-difference-percentage-of-two-images.html
Ramesh MaruthiRank #937 · 2.2K reputationPosted Jul 29, 2014, 7:30 AM EDT