color-space Questions
2
Core Image lets us specify a color space for a CIContext, as in:
let context = CIContext(options: [kCIContextOutputColorSpace: NSNull(),
kCIContextWorkingColorSpace: NSNull()])
Or for a CIImage...
Screw asked 29/10, 2017 at 9:58
7
Solved
How can I present object Color in CIE Lab color model.
Color c = ...
float[] lab = {0,0,0};
...
c.getColorComponents(ColorSpace.getInstance(???), lab);
But I wasn't able to force this work with ...
Homestead asked 4/1, 2011 at 12:17
5
Solved
Traceback (most recent call last):
File "demo.py", line 132, in
`result = find_strawberry(image)`
File "demo.py", line 63, in find_strawberry
`image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)`
cv2....
Daredeviltry asked 10/10, 2018 at 11:24
7
Solved
I have an array of around 200 colours in RGB format. I want to write a program that takes any RGB colour and tries to match a colour from the array that is most "similar".
I need a good definition...
Istic asked 5/11, 2009 at 5:8
1
Solved
I see official cwebp document have no option to specify target colorspace
https://developers.google.com/speed/webp/docs/cwebp
because I wish using grayscale color space could save some space for t...
Quitrent asked 24/6, 2018 at 4:35
3
Solved
i am a little confused about the NV12 format. i am looking the this page to understand the format.
What i currently understand is that if you have an image or video of 640 x 480 diminsion then the ...
Everson asked 5/7, 2013 at 10:46
9
Solved
The common mixing of RGB colors is very different from mixing colors for paintings,
it's mixing of light instead mixing of pigments.
For example:
Blue (0,0,255) + Yellow (255,255,0) = Grey (128,1...
Heartthrob asked 29/8, 2009 at 13:26
3
Solved
I'm trying to emulate Photoshop's "Color Overlay" using CSS filters, and while doing so, found out the CSS filters operate on colors as consistently as an epileptic seizure.
Consider the color #FF...
Tragopan asked 6/4, 2015 at 20:46
1
I am using WICConvertBitmapSource function to convert pixel format from BGR to Gray and I'm getting unexpected pixel values.
...
pIDecoder->GetFrame( 0, &pIDecoderFrame );
pIDecoderFrame-...
Enkindle asked 10/3, 2021 at 13:53
1
Solved
I'm using the react-native-linear-gradient package to form a linear gradient. I've picked the exact same colors with color picker in XD design to form the same gradient in my app. Here is my code:
...
Rillings asked 4/10, 2019 at 8:33
5
Solved
What is the preferred way of doing the conversion using PIL/Numpy/SciPy today?
Emilioemily asked 15/11, 2012 at 20:49
5
Solved
I wanted to work on a small project to challenge my computer vision and image processing skills. I came across a project where I want to remove the hidden marks from the image. Hidden here refers t...
Lymph asked 28/7, 2020 at 17:52
2
The task I want to achieve is to replicate Photoshop RGB to LAB conversion.
For simplicity, I will describe what I did to extract only the L Channel.
Extracting Photoshop's L Channel
Here is RGB...
Methenamine asked 2/3, 2017 at 14:45
1
I am trying to read and write jpegs wth Adobe RGB colorspace in OpenCV. OpenCV assumes the jpeg has sRGB colorspace and when displaying or writing to file, the image loses some of its color intensi...
Resolvable asked 16/10, 2015 at 10:47
2
I have a batch script that converts my PNG-24 (with Transparency) images to 50% and 25% size (for mobile development). Usually these images have colors in them but now I am trying to convert an ima...
Maudmaude asked 4/2, 2013 at 22:16
2
Solved
Whats the quickest/easiest way to sort the colors in the System.Media.Colors according to its position in the visible spectrum (red to blue or blue to red doesn't matter) ?
EDIT:
Here is the resu...
Amorino asked 25/3, 2011 at 9:10
1
I'm having trouble getting a rendered video's colors to match the source content's colors. I'm rendering images into a CGContext, converting the backing data into a CVPixelBuffer and appending that...
Vallonia asked 15/6, 2018 at 18:8
2
Solved
I've spent hours in trying to figure this one out.
Goal
Display P3 PDF Asset in UIImageView (the PDF is 100% in P3 Color Space).
Issue
I'm creating a P3 PDF asset and adding into the Xcode. Wit...
Yiyid asked 1/7, 2018 at 10:24
2
Solved
Does anyone know how I can achieve the following color space (bt.709) via FFmpeg?
Here is what I have now in my files...
As you can see there is Format settings, Matrix as default, how can I se...
Dangerfield asked 16/5, 2016 at 13:56
1
I need to save and load metal textures to a file. Example code below is below. I'm noticing the RGB values are changing as it gets saved and reloaded again.
metal texture pixel: RGBA: 42,79,12,95 ...
Hemlock asked 7/4, 2018 at 23:34
2
Solved
I am writing a code for determining a JPEG image's color space. I have found two references that may help me implementing this. One is on the oracle.com, the other one is a C source code from the i...
Homolographic asked 11/6, 2018 at 12:41
3
I am trying to convert an jpeg image from rgb to cmyk colorspace. Platform is ubuntu 14.04 lts, imagemagick 6.7.7-10
I start with two versions of the image, both rgb. One has an embedded sRGB profi...
Catchpenny asked 6/3, 2016 at 10:40
6
Is HSL superior over HSI and HSV, because it takes human perception into account.?
For some image processing algorithms they say I can use either of these color spaces,
and I am not sure which one ...
Buyer asked 9/7, 2012 at 14:12
1
Solved
Suppose we have l,a,b values for 5 circles inside an image. These values are calculated using OpenCV.
imlab=cv2.cvtColor(circle_img_only,cv2.COLOR_BGR2LAB).astype("float32")
Actually, we take 10...
Wren asked 11/3, 2018 at 15:49
1
Solved
I'm working on a video player project on iOS.
It uses AVFoundation to extract CVPixelBuffer from a video file and then send that buffer to OpenGL as textures.
The proof-of-concept code is inspire...
Operative asked 19/12, 2016 at 7:20
1 Next >
© 2022 - 2025 — McMap. All rights reserved.