BitmapPerceptualDifference

From K-3D

(Difference between revisions)
Jump to: navigation, search
(Importing text file)
m
 
(One intermediate revision not shown)
Line 1: Line 1:
-
<!-- Machine-generated file, do not edit by hand! -->
+
{{BitmapPerceptualDifference}}
-
== Description ==  
+
 
-
{| border="0" cellpadding="5" cellspacing="0"
+
== Overview ==
-
|-
+
 
-
|Calculate a perceptual difference metric between two bitmap images
+
[[BitmapPerceptualDifference]] is used primarily for regression tests that need to compare bitmap images for equivalence - it is based on a physiological model of human vision that allows it to ignore differences between images that wouldn't normally be perceivable by a human.
-
|}
+
 
-
<table border="0" cellpadding="5" cellspacing="0">
+
== Credits ==
-
<tr><td><b>Plugin Status:</b></td><td>[[Plugin Status|Experimental]]</td></tr>
+
 
-
<tr><td><b>Categories:</b></td><td>[[All Plugins]], [[Experimental Plugins]], [[Bitmap Plugins]], [[Test Plugins]]</td></tr>
+
[[BitmapPerceptualDifference]] is based on the work of Hector Yee, et al, available at http://pdiff.sourceforge.net/
-
</table>
+
 
-
== Properties ==
+
For K-3D we hacked the pdiff sources so we could embed them in a K-3D bitmap modifier.
-
{| border="1" cellpadding="5" cellspacing="0"
+
-
! Label
+
-
! Description
+
-
! Type
+
-
! Script Name
+
-
|-
+
-
|'''Selection Weight'''
+
-
|Node selection state, 1 = selected, 0 = unselected.
+
-
|[[Property Types#k3d::double_t|k3d::double_t]]
+
-
|selection_weight
+
-
|-
+
-
|'''Input A'''
+
-
|A input bitmap
+
-
|[[Property Types#k3d::bitmap*|k3d::bitmap*]]
+
-
|input_a
+
-
|-
+
-
|'''Input B'''
+
-
|B input bitmap
+
-
|[[Property Types#k3d::bitmap*|k3d::bitmap*]]
+
-
|input_b
+
-
|-
+
-
|'''Field-of-view'''
+
-
|Field-of-view (degrees)
+
-
|[[Property Types#k3d::double_t|k3d::double_t]]
+
-
|field_of_view
+
-
|-
+
-
|'''Gamma'''
+
-
|Gamma
+
-
|[[Property Types#k3d::double_t|k3d::double_t]]
+
-
|gamma
+
-
|-
+
-
|'''Luminance'''
+
-
|Display Luminance (candela per square meter)
+
-
|[[Property Types#k3d::double_t|k3d::double_t]]
+
-
|luminance
+
-
|-
+
-
|'''Difference'''
+
-
|The count of perceivably-different pixels
+
-
|[[Property Types#k3d::uint32_t|k3d::uint32_t]]
+
-
|difference
+
-
|-
+
-
|'''Output Bitmap'''
+
-
|Output bitmap
+
-
|[[Property Types#k3d::bitmap*|k3d::bitmap*]]
+
-
|output
+
-
|}
+
-
<!-- Machine-generated file, do not edit by hand! -->
+

Current revision as of 22:10, 19 September 2009

Description

Calculate a perceptual difference metric between two bitmap images
Plugin Status:Experimental
Categories:All Plugins, Experimental Plugins, Bitmap Plugins, Test Plugins

Metadata

Name Value

Properties

Label Description Type Script Name
Input A A input bitmap k3d::bitmap* input_a
Input B B input bitmap k3d::bitmap* input_b
Field-of-view Field-of-view (degrees) k3d::double_t field_of_view
Gamma Gamma k3d::double_t gamma
Luminance Display Luminance (candela per square meter) k3d::double_t luminance
Difference The count of perceivably-different pixels k3d::uint32_t difference
Output Bitmap Output bitmap k3d::bitmap* output_bitmap


Overview

BitmapPerceptualDifference is used primarily for regression tests that need to compare bitmap images for equivalence - it is based on a physiological model of human vision that allows it to ignore differences between images that wouldn't normally be perceivable by a human.

Credits

BitmapPerceptualDifference is based on the work of Hector Yee, et al, available at http://pdiff.sourceforge.net/

For K-3D we hacked the pdiff sources so we could embed them in a K-3D bitmap modifier.

Personal tools