diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-05-22 10:14:01 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-05-22 10:14:01 +0100 |
| commit | 8f1667713a961de1f20688470ab84db097151692 (patch) | |
| tree | 43f3b068dac7b30df538344ef16d7c6003036203 /rotord/src | |
| parent | bb6498e5ff6a8a8af8c06300dac051659a37e89b (diff) | |
colour palette as string inlet
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/nodes_channels.h | 1 | ||||
| -rw-r--r-- | rotord/src/rotor.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/rotord/src/nodes_channels.h b/rotord/src/nodes_channels.h index 3b3fa70..7e5b507 100644 --- a/rotord/src/nodes_channels.h +++ b/rotord/src/nodes_channels.h @@ -373,6 +373,7 @@ namespace Rotor { apply_LUT(in,image); } void apply_LUT(const Image& in,Image &out){ //facility to apply to other images for inherited classes + if (in.w==0) cerr<<type<<" node "<<ID<<" requesting 0 size LUT "<<endl; out.setup(in.w,in.h); for (int i=0;i<out.w*out.h*3;i++){ out.RGBdata[i]=LUT[in.RGBdata[i]]; diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index f54f80d..608f02a 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -127,6 +127,14 @@ inputs: [ so there needs to be a hook for this + if (images[absframe]->w==0) cerr<<type<<" node "<<ID<<" requesting 0 size image "<<endl; + + where is 0x0 image setup coming from? + its from operator= in cvImage + + what is setting image=otherimage where otherimage isn't initialised? + its NOT echo trails afaik + -------------------------*/ |
