BitmapPerceptualDifference

From K-3D

(Difference between revisions)
Jump to: navigation, search
(Overview)
(Importing text file)
Line 1: Line 1:
-
<plugin>{{PAGENAME}}</plugin>
+
<!-- Machine-generated file, do not edit by hand! -->
-
 
+
== Description ==
-
== Overview ==
+
{| border="0" cellpadding="5" cellspacing="0"
-
 
+
|-
-
[[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.
+
|Calculate a perceptual difference metric between two bitmap images
-
 
+
|}
-
== Credits ==
+
<table border="0" cellpadding="5" cellspacing="0">
-
 
+
<tr><td><b>Plugin Status:</b></td><td>[[Plugin Status|Experimental]]</td></tr>
-
[[BitmapPerceptualDifference]] is based on the work of Hector Yee, et al, available at http://pdiff.sourceforge.net/
+
<tr><td><b>Categories:</b></td><td>[[All Plugins]], [[Experimental Plugins]], [[Bitmap Plugins]], [[Test Plugins]]</td></tr>
-
 
+
</table>
-
For K-3D we hacked the pdiff sources so we could embed them in a K-3D bitmap modifier.
+
== Properties ==  
 +
{| 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! -->

Revision as of 21:28, 11 May 2008

Description

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

Properties

Label Description Type Script Name
Selection Weight Node selection state, 1 = selected, 0 = unselected. k3d::double_t selection_weight
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
Personal tools