Lines Matching refs:reconstruct_image

128 MagickExport Image *CompareImages(Image *image,const Image *reconstruct_image,  in CompareImages()  argument
169 assert(reconstruct_image != (const Image *) NULL); in CompareImages()
170 assert(reconstruct_image->signature == MagickCoreSignature); in CompareImages()
175 status=GetImageDistortion(image,reconstruct_image,metric,distortion, in CompareImages()
179 columns=MagickMax(image->columns,reconstruct_image->columns); in CompareImages()
180 rows=MagickMax(image->rows,reconstruct_image->rows); in CompareImages()
224 fuzz=GetFuzzyColorDistance(image,reconstruct_image); in CompareImages()
226 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in CompareImages()
271 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in CompareImages()
275 q+=GetPixelChannels(reconstruct_image); in CompareImages()
281 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in CompareImages()
290 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in CompareImages()
297 pixel=(double) p[i]-GetPixelChannel(reconstruct_image,channel,q); in CompareImages()
299 pixel=Sa*p[i]-Da*GetPixelChannel(reconstruct_image,channel,q); in CompareImages()
312 q+=GetPixelChannels(reconstruct_image); in CompareImages()
365 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument
388 fuzz=GetFuzzyColorDistance(image,reconstruct_image); in GetAbsoluteDistortion()
389 rows=MagickMax(image->rows,reconstruct_image->rows); in GetAbsoluteDistortion()
390 columns=MagickMax(image->columns,reconstruct_image->columns); in GetAbsoluteDistortion()
392 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetAbsoluteDistortion()
433 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetAbsoluteDistortion()
436 q+=GetPixelChannels(reconstruct_image); in GetAbsoluteDistortion()
441 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetAbsoluteDistortion()
450 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetAbsoluteDistortion()
457 pixel=(double) p[i]-GetPixelChannel(reconstruct_image,channel,q); in GetAbsoluteDistortion()
459 pixel=Sa*p[i]-Da*GetPixelChannel(reconstruct_image,channel,q); in GetAbsoluteDistortion()
470 q+=GetPixelChannels(reconstruct_image); in GetAbsoluteDistortion()
484 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument
507 rows=MagickMax(image->rows,reconstruct_image->rows); in GetFuzzDistortion()
508 columns=MagickMax(image->columns,reconstruct_image->columns); in GetFuzzDistortion()
511 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetFuzzDistortion()
548 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetFuzzDistortion()
551 q+=GetPixelChannels(reconstruct_image); in GetFuzzDistortion()
555 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetFuzzDistortion()
563 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetFuzzDistortion()
570 distance=QuantumScale*(p[i]-GetPixelChannel(reconstruct_image, in GetFuzzDistortion()
573 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetFuzzDistortion()
580 q+=GetPixelChannels(reconstruct_image); in GetFuzzDistortion()
599 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanAbsoluteDistortion() argument
622 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanAbsoluteDistortion()
623 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanAbsoluteDistortion()
626 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetMeanAbsoluteDistortion()
663 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetMeanAbsoluteDistortion()
666 q+=GetPixelChannels(reconstruct_image); in GetMeanAbsoluteDistortion()
670 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanAbsoluteDistortion()
678 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetMeanAbsoluteDistortion()
686 GetPixelChannel(reconstruct_image,channel,q))); in GetMeanAbsoluteDistortion()
689 GetPixelChannel(reconstruct_image,channel,q))); in GetMeanAbsoluteDistortion()
695 q+=GetPixelChannels(reconstruct_image); in GetMeanAbsoluteDistortion()
713 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanErrorPerPixel() argument
738 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanErrorPerPixel()
739 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanErrorPerPixel()
741 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetMeanErrorPerPixel()
768 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetMeanErrorPerPixel()
771 q+=GetPixelChannels(reconstruct_image); in GetMeanErrorPerPixel()
775 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanErrorPerPixel()
783 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetMeanErrorPerPixel()
791 GetPixelChannel(reconstruct_image,channel,q))); in GetMeanErrorPerPixel()
794 GetPixelChannel(reconstruct_image,channel,q))); in GetMeanErrorPerPixel()
803 q+=GetPixelChannels(reconstruct_image); in GetMeanErrorPerPixel()
816 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanSquaredDistortion() argument
839 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanSquaredDistortion()
840 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanSquaredDistortion()
843 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetMeanSquaredDistortion()
880 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetMeanSquaredDistortion()
883 q+=GetPixelChannels(reconstruct_image); in GetMeanSquaredDistortion()
887 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanSquaredDistortion()
895 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetMeanSquaredDistortion()
902 distance=QuantumScale*(p[i]-GetPixelChannel(reconstruct_image, in GetMeanSquaredDistortion()
905 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetMeanSquaredDistortion()
912 q+=GetPixelChannels(reconstruct_image); in GetMeanSquaredDistortion()
930 const Image *image,const Image *reconstruct_image,double *distortion, in GetNormalizedCrossCorrelationDistortion() argument
966 reconstruct_statistics=GetImageStatistics(reconstruct_image,exception); in GetNormalizedCrossCorrelationDistortion()
982 rows=MagickMax(image->rows,reconstruct_image->rows); in GetNormalizedCrossCorrelationDistortion()
983 columns=MagickMax(image->columns,reconstruct_image->columns); in GetNormalizedCrossCorrelationDistortion()
986 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetNormalizedCrossCorrelationDistortion()
1006 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetNormalizedCrossCorrelationDistortion()
1009 q+=GetPixelChannels(reconstruct_image); in GetNormalizedCrossCorrelationDistortion()
1014 q+=GetPixelChannels(reconstruct_image); in GetNormalizedCrossCorrelationDistortion()
1041 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetNormalizedCrossCorrelationDistortion()
1044 q+=GetPixelChannels(reconstruct_image); in GetNormalizedCrossCorrelationDistortion()
1048 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetNormalizedCrossCorrelationDistortion()
1053 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetNormalizedCrossCorrelationDistortion()
1063 reconstruct_image,channel,q)- in GetNormalizedCrossCorrelationDistortion()
1070 reconstruct_image,channel,q)- in GetNormalizedCrossCorrelationDistortion()
1075 q+=GetPixelChannels(reconstruct_image); in GetNormalizedCrossCorrelationDistortion()
1125 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakAbsoluteDistortion() argument
1142 rows=MagickMax(image->rows,reconstruct_image->rows); in GetPeakAbsoluteDistortion()
1143 columns=MagickMax(image->columns,reconstruct_image->columns); in GetPeakAbsoluteDistortion()
1145 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetPeakAbsoluteDistortion()
1183 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetPeakAbsoluteDistortion()
1186 q+=GetPixelChannels(reconstruct_image); in GetPeakAbsoluteDistortion()
1190 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetPeakAbsoluteDistortion()
1198 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in GetPeakAbsoluteDistortion()
1206 GetPixelChannel(reconstruct_image,channel,q))); in GetPeakAbsoluteDistortion()
1209 GetPixelChannel(reconstruct_image,channel,q))); in GetPeakAbsoluteDistortion()
1216 q+=GetPixelChannels(reconstruct_image); in GetPeakAbsoluteDistortion()
1240 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakSignalToNoiseRatio() argument
1248 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetPeakSignalToNoiseRatio()
1258 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPerceptualHashDistortion() argument
1279 reconstruct_phash=GetImagePerceptualHash(reconstruct_image,exception); in GetPerceptualHashDistortion()
1337 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetRootMeanSquaredDistortion() argument
1345 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetRootMeanSquaredDistortion()
1352 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetStructuralSimilarityDistortion() argument
1422 rows=MagickMax(image->rows,reconstruct_image->rows); in GetStructuralSimilarityDistortion()
1423 columns=MagickMax(image->columns,reconstruct_image->columns); in GetStructuralSimilarityDistortion()
1425 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in GetStructuralSimilarityDistortion()
1428 magick_number_threads(image,reconstruct_image,rows,1) in GetStructuralSimilarityDistortion()
1477 (GetPixelReadMask(reconstruct_image,q) <= (QuantumRange/2))) in GetStructuralSimilarityDistortion()
1480 q+=GetPixelChannels(reconstruct_image); in GetStructuralSimilarityDistortion()
1508 reconstruct_image,channel); in GetStructuralSimilarityDistortion()
1517 GetPixelChannel(reconstruct_image,channel,target); in GetStructuralSimilarityDistortion()
1524 target+=GetPixelChannels(reconstruct_image); in GetStructuralSimilarityDistortion()
1527 target+=GetPixelChannels(reconstruct_image)*columns; in GetStructuralSimilarityDistortion()
1543 reconstruct_image,channel); in GetStructuralSimilarityDistortion()
1562 q+=GetPixelChannels(reconstruct_image); in GetStructuralSimilarityDistortion()
1587 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetStructuralDisimilarityDistortion() argument
1595 status=GetStructuralSimilarityDistortion(image,reconstruct_image, in GetStructuralDisimilarityDistortion()
1603 const Image *reconstruct_image,const MetricType metric,double *distortion, in GetImageDistortion() argument
1619 assert(reconstruct_image != (const Image *) NULL); in GetImageDistortion()
1620 assert(reconstruct_image->signature == MagickCoreSignature); in GetImageDistortion()
1639 status=GetAbsoluteDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1645 status=GetFuzzDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1651 status=GetMeanAbsoluteDistortion(image,reconstruct_image, in GetImageDistortion()
1657 status=GetMeanErrorPerPixel(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1663 status=GetMeanSquaredDistortion(image,reconstruct_image, in GetImageDistortion()
1670 status=GetNormalizedCrossCorrelationDistortion(image,reconstruct_image, in GetImageDistortion()
1676 status=GetPeakAbsoluteDistortion(image,reconstruct_image, in GetImageDistortion()
1682 status=GetPeakSignalToNoiseRatio(image,reconstruct_image, in GetImageDistortion()
1688 status=GetPerceptualHashDistortion(image,reconstruct_image, in GetImageDistortion()
1694 status=GetRootMeanSquaredDistortion(image,reconstruct_image, in GetImageDistortion()
1700 status=GetStructuralSimilarityDistortion(image,reconstruct_image, in GetImageDistortion()
1706 status=GetStructuralDisimilarityDistortion(image,reconstruct_image, in GetImageDistortion()
1751 const Image *reconstruct_image,const MetricType metric, in GetImageDistortions() argument
1767 assert(reconstruct_image != (const Image *) NULL); in GetImageDistortions()
1768 assert(reconstruct_image->signature == MagickCoreSignature); in GetImageDistortions()
1786 status=GetAbsoluteDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1792 status=GetFuzzDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1798 status=GetMeanAbsoluteDistortion(image,reconstruct_image, in GetImageDistortions()
1804 status=GetMeanErrorPerPixel(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1810 status=GetMeanSquaredDistortion(image,reconstruct_image, in GetImageDistortions()
1817 status=GetNormalizedCrossCorrelationDistortion(image,reconstruct_image, in GetImageDistortions()
1823 status=GetPeakAbsoluteDistortion(image,reconstruct_image, in GetImageDistortions()
1829 status=GetPeakSignalToNoiseRatio(image,reconstruct_image, in GetImageDistortions()
1835 status=GetRootMeanSquaredDistortion(image,reconstruct_image, in GetImageDistortions()
1841 status=GetRootMeanSquaredDistortion(image,reconstruct_image, in GetImageDistortions()
1847 status=GetStructuralSimilarityDistortion(image,reconstruct_image, in GetImageDistortions()
1853 status=GetStructuralDisimilarityDistortion(image,reconstruct_image, in GetImageDistortions()
1895 const Image *reconstruct_image,ExceptionInfo *exception) in IsImagesEqual() argument
1910 assert(reconstruct_image != (const Image *) NULL); in IsImagesEqual()
1911 assert(reconstruct_image->signature == MagickCoreSignature); in IsImagesEqual()
1912 rows=MagickMax(image->rows,reconstruct_image->rows); in IsImagesEqual()
1913 columns=MagickMax(image->columns,reconstruct_image->columns); in IsImagesEqual()
1915 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in IsImagesEqual()
1941 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in IsImagesEqual()
1947 distance=fabs((double) (p[i]-(double) GetPixelChannel(reconstruct_image, in IsImagesEqual()
1955 q+=GetPixelChannels(reconstruct_image); in IsImagesEqual()
2015 const Image *reconstruct_image,ExceptionInfo *exception) in SetImageColorMetric() argument
2039 assert(reconstruct_image != (const Image *) NULL); in SetImageColorMetric()
2040 assert(reconstruct_image->signature == MagickCoreSignature); in SetImageColorMetric()
2045 rows=MagickMax(image->rows,reconstruct_image->rows); in SetImageColorMetric()
2046 columns=MagickMax(image->columns,reconstruct_image->columns); in SetImageColorMetric()
2048 reconstruct_view=AcquireVirtualCacheView(reconstruct_image,exception); in SetImageColorMetric()
2074 PixelTrait reconstruct_traits = GetPixelChannelTraits(reconstruct_image, in SetImageColorMetric()
2080 distance=fabs((double) (p[i]-(double) GetPixelChannel(reconstruct_image, in SetImageColorMetric()
2092 q+=GetPixelChannels(reconstruct_image); in SetImageColorMetric()