From: Alexandru on 3 Jul 2010 08:28 Hellow.I have a problem... I'm a beginer in image procesing specialy in Matlab ! If someone can help me with my probleme ...I want to compere two images : - first , this image http://drop.io/vyi5dic/asset/smiley-jpg - second image http://drop.io/vyi5dic/asset/smiley-bad-jpg-2 So i want to compere those two image : CASE 1 : First Image is standard (the image that i compare with)... i want to compare first image http://drop.io/vyi5dic/asset/smiley-jpg with the same imagehttp://drop.io/vyi5dic/asset/smiley-bad-jpg-2 (in my case , is the image that i recently capture with my web camera )..and i need an effect : i don't know ..un single result , un array ! CASE 2 : First image is standard (the image that i compare with)....i want to compare first image http://drop.io/vyi5dic/asset/smiley-jpg with the second image http://drop.io/vyi5dic/asset/smiley-bad-jpg-2 (for me is the image that i recently capture with my web camera )..and i need an effect : In both cases i need an single algoritm for them !
From: us on 3 Jul 2010 08:50 "Alexandru " <yo_golo_yo(a)yahoo.com> wrote in message <i0nacm$5st$1(a)fred.mathworks.com>... > Hellow.I have a problem... I'm a beginer in image procesing specialy in Matlab ! If someone can help me with my probleme ...I want to compere two images : > - first , this image http://drop.io/vyi5dic/asset/smiley-jpg > - second image http://drop.io/vyi5dic/asset/smiley-bad-jpg-2 > So i want to compere those two image : > CASE 1 : First Image is standard (the image that i compare with)... i want to compare first image http://drop.io/vyi5dic/asset/smiley-jpg with the same imagehttp://drop.io/vyi5dic/asset/smiley-bad-jpg-2 (in my case , is the image that i recently capture with my web camera )..and i need an effect : i don't know ..un single result , un array ! > CASE 2 : First image is standard (the image that i compare with)....i want to compare first image http://drop.io/vyi5dic/asset/smiley-jpg with the second image http://drop.io/vyi5dic/asset/smiley-bad-jpg-2 (for me is the image that i recently capture with my web camera )..and i need an effect : > In both cases i need an single algoritm for them ! a hint: - to start with... help conv2; us
From: ImageAnalyst on 3 Jul 2010 08:57 Alexandru: I'm not sure I understand. What is the difference between the first case and the second case? Also, there are lots of ways to "compare" them - why not start with just subtracting the images? Or you can calculate a color difference (called "Delta E") image. There are ots of other ways depending on what you really want to know when you compare them, such as how in focus the images are, how many objects (such as people) are in them, the size of the objects in the images, etc., etc. -ImageAnalyst
From: Alexandru on 3 Jul 2010 12:10 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <74f9f6a1-83a7-469f-9777-9eff6e08b19f(a)g19g2000yqc.googlegroups.com>... > Alexandru: > I'm not sure I understand. What is the difference between the first > case and the second case? Also, there are lots of ways to "compare" > them - why not start with just subtracting the images? Or you can > calculate a color difference (called "Delta E") image. There are ots > of other ways depending on what you really want to know when you > compare them, such as how in focus the images are, how many objects > (such as people) are in them, the size of the objects in the images, > etc., etc. > -ImageAnalyst That whas an example ... The diferente between the first and the second picture is one circle(all most a cicle ) ....first picture have 2 black circles and second picture have 3 circles ! ... What i ask whas un example of how i can compare 2 picture ! My real thing is : i have one picture ( an model of black garnish with 3 holes ) in my data-base... so this picture i need to compare with other picture that i capture with my camera video ...so i need an algoritm that can measure number of pixeli so i can find similarity or difference betwen my database picture and the one that i capture (sorry , my english is not very good)....... If picture 1 = picture 2 resultat 1 else resultat 2 ..this is what i need ! if is posible!
From: ImageAnalyst on 3 Jul 2010 14:20 Well just try subtracting them. Then sum up the absolute value of all the difference values. If that number is more than a certain number, then the images are different. You decide on the number that differentiates "same" from "different." You could make it more robust, say by aligning images, reducing noise, warping, etc. but subtraction is a good place to start and then go from there.
|
Next
|
Last
Pages: 1 2 Prev: Locating indices of more than one of the maximum values of anarray Next: R2009b and Windows 7 |