1,805 questions
2
votes
0
answers
62
views
How to get rid of no-data pixels in tif,png
I have a gis image file in tif format which I convert to png based tiles using gdal.
gdalinfo command for tif file shows:
Band 1 Block=1652x2 Type=Byte, ColorInterp=Gray
Min=1.000 Max=255.000
...
1
vote
0
answers
42
views
How to adjust the alpha or apply a Bonferroni correction to multiple ANOVAs?
I am analyzing data for an experiment with a 3x2x2 mixed factorial design. Because of the nature of our research questions and the experiment, my associates and I feel it is important to run both the ...
2
votes
0
answers
66
views
approximation of "alpha" to opacity [duplicate]
I closed this as a dupe of https://stackoverflow.com/a/57446700/6851825, which also links to https://coolbutuseless.github.io/2020/02/14/my-mental-model-of-how-alpha-works-is-wrong/. The latter is ...
0
votes
0
answers
35
views
Problem play video with alpha canal on Mac Pixijs.8.8.1
Hi everyone,
I'm reaching out for some help. I have a MOV video with an alpha channel (transparency). It plays perfectly on Windows, Linux, and Android, but I'm running into issues on Mac.
Safari: On ...
0
votes
0
answers
54
views
How to find min./max. possible alpha values for perceptually equal resulting color after blending 2 RGBA colors
I have a blending function, that correctly blends an sRGBA foreground color over another sRGBA background color by using premultiplied alpha blending.
blend_premultipy_alpha(srgba_color_foreground,...
1
vote
1
answer
62
views
Change color of dot border inside plot
I have a table looking like this:
UMAP1 UMAP2 Tissue Color Shape Size Alpha
SRR10264719 -29.4889521358772 -8.66297910678254 Skeletal muscle #DB6443 15 2 0.3
SRR10264720 -28....
2
votes
0
answers
68
views
How to get work around the limit on PIXIJS alpha values?
I'm making an application that relies on a large amount of rectangles with transparency to generate a visualization.
However I'm running into the problem that PIXIJs runs into artifacts with alpha ...
-2
votes
1
answer
178
views
How to resize an image and keep backround empty using OpenCV
I have the following 256x256 image:
I want to resize it to 100x100 pixels using OpenCV:
img = cv2.imread('image.png')
p = 100/256
new_width = int( img.shape[1] * p )
new_height = int( img.shape[0] *...
1
vote
0
answers
166
views
How to encode RGBA and preserve alpha channel with Android MediaCodec?
I would like to encode RGBA images into webm file on Android, preserving alpha channel. I have read the answers to this question and tried following the example of https://github.com/google/grafika, ...
0
votes
1
answer
192
views
Why are my blurred drop shadows lightening instead of darkening a semi-transparent color in Pygame?
I feel like there is some fundamental aspect of alpha blending that I'm not understanding here.
I'm doing the following in Pygame to create a blurred drop shadow:
draw a white object
draw a black ...
1
vote
0
answers
152
views
How to calculate pooled Cronbach's Alpha after multiple imputation
I'm new here and I have a question regarding Cronbach's Alpha after imputation. I've already looked up several resources and I found the same problem here with a reproducible example (How do I ...
2
votes
2
answers
181
views
How do I control the alpha of a geom_point fill?
I have a dataframe with two variables, that I want to make a scatterplot of in ggplot. I would like the color and fill to be controlled by "A" and the alpha of only the fill by "B" ...
0
votes
0
answers
43
views
how do I change the alpha channel along a path in cairo?
In an application using gtk3, I use cairo to do some drawing. What I would like to do is increase the transparency along the path. The path can have any shape.
In very simplified terms, I have ...
0
votes
1
answer
109
views
REST API to identify Stable Maven Version of any Maven dependency
Do we have any REST API from Sonatype that gives long tern stable Maven Version excluding apha and beta versions from Maven web repository.
If anyone knows any other API please comment.
I have written ...
0
votes
1
answer
80
views
How to add transparency values correctly?
The following example draws two boxes. The first box is just one box drawn with a globalAlpha of 1. The second box is the sum of 2 boxes with globalAlpha of 0.5.
const canvas = document....
3
votes
1
answer
91
views
"Replacement has x rows" error in code that previously worked (geom_sf/gganimate/shadow_mark)
I have data with observations of species at different locations across multiple years. Some years don't have any data. I wanted to create an animated map that included the years for which there's no ...
0
votes
2
answers
246
views
Three Fiber not showing transparent png texture
I would like to display a small logo, a transparent png, on the back of each tile in my game. However, the png is not displaying.
Here is the png:
Here is the code for the texture:
import { ...
0
votes
1
answer
73
views
iOS Solid text over a background image and low alpha cell background
How do I get the text in my cells to show as solid text while still fading the cell background so I can see the image behind?
I have the following in my ViewController:
`
- (void)viewDidLoad {
// ...
0
votes
2
answers
61
views
Animate Alpha ImageView Fade In Fade Out
In the observe method of a view model, a new Observer is listening for an API response which is working correctly. However based on the response, it is calling the following code to show a success or ...
-1
votes
1
answer
72
views
Show transparent image with openCV python
im working with opencv and when showing the image it has a black background even its already transparent, (sometimes white) but that depends on the image, in this case the eye image when showing it ...
1
vote
1
answer
58
views
Is there a way to blit a semi-transparent image to a screen only while collision is occurring?
I have this code for an enemy character that has a hitbox of 20, 20 saved to the Rect obj pursrect.
I also have code detailing a 200 pixel box that constantly follows the player around directly on top ...
0
votes
2
answers
173
views
Batch combine images with Opacity map at a time with Imagemagick [closed]
I have a directory full of image in the form *_Alb.png and *_Opa.png, with the Opa files being a black and white "opacity map" for the Alb image. I want to convert the opacity map to the ...
-1
votes
1
answer
537
views
How to stream the Transparency image on framebuffer using gstreamer command
I am working on the custom project which having mixer output. Mixer output having one frame buffer input for background image, i want to filter out the green color on the image and make it ...
0
votes
0
answers
96
views
Setting individual pixel of a pixmap. LibGdx,
How do I set individual pixel of a Pixmap in LibGdx.
I want to make only the alpha channel to be zero whererever there is a particular color.
Now I create a pixmap with a backrgound color with very ...
0
votes
0
answers
527
views
Math Formula for calculating the resulting colour of a transparent layer with a multiply blend over another layer
I have been trying to get a correct result in a language agnostic way. currently using excel to pin it down. I have attached an image of my current status. In this example I am starting with the ...