Skip to content

Commit

Permalink
fix to degrade for phase input
Browse files Browse the repository at this point in the history
  • Loading branch information
yoya committed Mar 16, 2017
1 parent 4115c62 commit 63bcfad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fcbi.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ function drawFCBI_() {
var phase = parseFloat(document.getElementById("phaseRange").value);
// console.debug("TM,edgeMode,phase:", TM,edgeMode,phase);
//
if (phase <= this.phase) {
return ;
}
switch (this.phase) {
case 0: // リサンプル
drawFCBI_Phase1(srcImageData, dstImageData, false);
Expand Down

0 comments on commit 63bcfad

Please sign in to comment.