Questions tagged [compositing]

Compositing is the combining of visual elements from separate sources into single images.

See Digital compositing on Wikipedia.

64 questions
0
votes
1 answer

html canvas clip but with an image

I have been working with html canvas compositing trying to clip a pattern with a mask. The main issue that I have is that the mask I have comes from an svg with transparencies within the outer most border. I want the entire inside from the outer…
0
votes
2 answers

HTML5 Video Pixel Tracking

I know that generally, it's no problem to overlay HTML (and even do advanced compositing operations) to HTML5 native video. I've seen cool tricks with keying out green screens in realtime, in the browser, for example. What I haven't see yet,…
rcd
  • 1,348
  • 1
  • 14
  • 27
0
votes
2 answers

The Foundry Nuke – Issues with `elif` and `else` statements

So to make it simple, I'm writing a script in NUKE which aligns the selected nodes in the node graph into one straight line in the Y-axis. I'm having issues where I'm writing the elif statement which is either not functioning as I want to or it is…
0
votes
1 answer

Problem with porting SVG composition standard in Matlab

I have ported most of the 24 methods from the SVG composition standard (2009, https://www.w3.org/TR/2009/WD-SVGCompositing-20090430/) in Matlab but four methods (like color-dodge) relay on comparing images within an if-statement (like: if Sca == Sa…
0
votes
2 answers

Why does not using premultiplied alpha have "significantly worse performance"?

QPainter is responsible for drawing and compositing in Qt. There is a section in the documentation that talks about performance. My question is regarding the bolded sentence from the following paragraph. Raster - This backend implements all…
Indiana Kernick
  • 5,041
  • 2
  • 20
  • 50
0
votes
1 answer

Android view animation on top of GLSurfaceView is slow

We've noticed that when you put Android views with view animation (nothing complex, just AlphaAnimation and TranslateAnimation) on top of a GLSurfaceView, the animation runs slowly (i.e. you see a lot of stuttering.) I am calling pause() on the…
0
votes
2 answers

Draw grayscale image to another BufferedImage's alpha band using API only

I've got two BufferedImages: one is TYPE_INT_ARGB, and the other is TYPE_BYTE_GRAY. How to replace the entire color image's alpha band with the grayscale image using API only, and without disturbing the RGB values? final int width = 200; final int…
0
votes
1 answer

Queuing data into swapchain of IDirect3DDevice9

I am new to direct3D . I am trying to write an image on direct3ddevice and get the same image in xrgb from it. I create a texture and get the surface from GetSurfaceLevel(). I use a image file and convert it into ARGB and write it onto the locked…
forcebrute
  • 21
  • 3
0
votes
1 answer

Matlab: Alpha-Compositing with gray scale mask

I am trying to emulate the functionality of alpha compositing in Matlab or to be more specific the compose types CopyOpacity and Over from ImageMagick. First goal is to mask out a region with heavy aliasing edges like the black regions in the images…
0
votes
1 answer

Refactoring a complicated opengl blend

I am trying to reproduce the effects of a fairly complicated blend operation (corrected). (1-(1-src_alpha)*dest_alpha)*src+(1-src_alpha)*dest_alpha*dest src and dest refer to the respective rgba components in the source and destination buffers. …
markt1964
  • 2,638
  • 2
  • 22
  • 54
0
votes
1 answer

I have Image Compositing (white/alpha mask) working in OpenTK/C#, except every pass through scales the output

So here's the problem I've been trying to solve. Given: a) A product image. Expected to be full color b) A mask of that image: RGBA(0,0,0,0) means ignore, RGBA(255,255,255,255) means replace c) A composite image: This is composited with the…
applejacks01
  • 249
  • 1
  • 18
0
votes
1 answer

How to composite multiple images in one stream

I'm trying to composite multiple images into a single stream that will be piped as a response. I'm using Node.js and GraphicsMagick for Node at https://github.com/aheckmann/gm. If I'm compositing two images into a stream it works fine and for…
NateW
  • 2,856
  • 5
  • 26
  • 46
0
votes
0 answers

Compositing Transparent Polygons with OpenGL ES 2.0

I have a 2D object that needs to be rendered to the screen as semi-transparent using OpenGL ES 2.0. However, the object is is composed of several overlapping polygons. When I use the blend function glBlendFunc(GL_SRC_ALPHA,…
0
votes
2 answers

Overlapping transparent UIViews

I’m overlaying two UIViews with a white backgroundColor at 25% opacity. In a small part, they overlap each other, meaning that at that area, they are summed to 50% opacity. I’d like to keep that 25% opacity, even if the two views overlap,…
Luke
  • 9,512
  • 15
  • 82
  • 146
0
votes
1 answer

JPanels Flickering during overlap

I am trying to make a program that randomly displays JPanels at the top of the screen. These JPanels contain a PNG BufferedImage of a smiley face (by overriding PaintComponent). Unfortunately, whenever I run the program and the panels are drawn in…
Beginner001
  • 45
  • 1
  • 9