Thanks,
Milind
On Mon, Sep 15, 2014 at 9:53 AM, Antonio Scuri <sc...@te...>
wrote:
> First, you compute the image that has the difference between the two
> images:
>
> im.ProcessArithmeticOp(src_image1, src_image2, dst_image, im.*BIN_DIFF*)
>
> Then you can check the statistic of the result image:
>
> stats = im.CalcHistogramStatistics(dst_image)
>
> You can use stats.mean or stats.positive
>
> ------------------------------------------------------------------
>
> Another option is to use the RMS error between two images:
>
> rms = im.CalcRMSError(image1, image2)
>
> It is a single value that you can for two identical images is zero.
>
> Best,
> Scuri
>
>
>
>
>
> On Mon, Sep 15, 2014 at 1:30 PM, Milind Gupta <mil...@gm...>
> wrote:
>
>> Hi,
>> I don't have any experience with image processing so I needed some
>> help. I want to compare 2 images know if the image content is the same in
>> them. If its possible to define a threshold for the similarity something
>> simple like 80% of the pixels match that would be really helpful.
>> Which functions in IM can I use to do this?
>>
>> Thanks,
>> Milind
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Want excitement?
>> Manually upgrade your production database.
>> When you want reliability, choose Perforce
>> Perforce version control. Predictably reliable.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Imtoolkit-users mailing list
>> Imt...@li...
>> https://lists.sourceforge.net/lists/listinfo/imtoolkit-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Imtoolkit-users mailing list
> Imt...@li...
> https://lists.sourceforge.net/lists/listinfo/imtoolkit-users
>
>
|