grayscale Questions
9
Solved
I'm trying to convert to grayscale this PDF: https://dl.dropboxusercontent.com/u/10351891/page-27.pdf
Ghostscript (v 9.10) with pdfwrite Device fails with a "Unable to convert color space to Gray,...
Confusion asked 21/11, 2013 at 18:7
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'm trying to write (using libpng) an 16-bit grayscale image where each point color equals to sum of its coordinates. The following code should produce a 16-bit PNG, but instead produces 8-bit like...
7
Solved
Is there a way to convert an image to grayscale 16 bits per pixel format, rather than setting each of the r,g and b components to luminance. I currently have a bmp from file.
Bitmap c = new Bitma...
Headcloth asked 15/2, 2010 at 12:37
2
Solved
I am trying to convert gray scale images to RGB using the imagemagick command-line tools.
It is working fine for PNG images, using:
convert image.png -define png:color-type=2 result.png
(taken ...
Isochor asked 19/1, 2016 at 10:47
9
Solved
I'm trying to display a grayscale image using matplotlib.pyplot.imshow(). My problem is that the grayscale image is displayed as a colormap. I need it to be grayscale because I want to draw on top ...
Bathyal asked 29/9, 2010 at 16:33
7
Solved
I have this extension (found in obj-c and I converted it to Swift3) to get the same UIImage but grayscaled:
public func getGrayScale() -> UIImage
{
let imgRect = CGRect(x: 0, y: 0, width: widt...
8
Solved
How do I convert a RGB image (3 channels) to a grayscale one, using the (r+g+b)/3 method?
I look through an examples page: http://www.imagemagick.org/Usage/color_mods/#grayscale
but the desired met...
Marieann asked 9/11, 2012 at 23:56
3
Solved
I have logo in my website, it is grayscaled on hover i want it to be colored smoothly. it is working but not smoothly. i am using CSS transition.
This is my code
<img alt="TT ltd logo" src="./...
Hendrik asked 17/1, 2016 at 15:21
4
Solved
I am using Python (2.7) and bindings for OpenCV 2.4.6 on Ubuntu 12.04
I load an image
image = cv2.imread('image.jpg')
I then check the shape of the image array
print image.shape
I get (480, 640...
Huckaback asked 18/9, 2013 at 11:7
2
I have found the VGG16 network pre-trained on the (color) imagenet database (as .npy). Is there a VGG16 network pre-trained on a gray-scale version of the imagenet database available?
(The usual ...
Salol asked 5/2, 2018 at 19:44
2
Solved
I have a greyscale TIF File. I need to convert it to RGB/ read from it in a way I can work with it.
img = Image.open(GIF_FILENAME)
rgbimg = img.convert('RGB')
for i in range(5):
print rgbimg.getp...
Titus asked 29/8, 2013 at 23:1
1
Solved
I have the following issue with cv2
when i normally load the image, everything is fine:
img = cv2.imread(file, cv2.COLOR_BGR2RGB)
plt.imshow(img)
print(img.shape)
When i try to load grayscale ...
3
Is there a way to draw a given UIView (and it's subviews) in greyscale?
I'm trying to take a view hierarchy and make it look disabled without overlaying an image or switching the images used to dr...
2
I have an image inside of an HTML5 canvas with the size of 28x28 pixels. I get the imageData of the canvas as an array of RGBA (red, green, blue, alpha) values using this code:
canvas = document.g...
Bein asked 18/11, 2018 at 18:25
7
Solved
I am trying to implement an algorithm in computer vision and I want to try it on a set of pictures. The pictures are all in color, but I don't want to deal with that. I want to convert them to gray...
Eurythermal asked 22/11, 2009 at 19:12
4
Working with a deep learning project and I have a lot of images, that don't need to have colors. I saved them doing:
import matplotlib.pyplot as plt
plt.imsave('image.png', image, format='png', c...
Forfend asked 10/10, 2018 at 18:30
4
Solved
Is it possible to have black-and-white and color image on same window by using opencv libraray? How can I have both of these images on same window?
4
Solved
I'm a newbie in OpenCV. I'm learning the Segmentation by Watershed algorithm and I have a problem.
I have to convert the image color to grayscale for using Watershed.
When I use the BGR color space...
2
I want to use the Python API binding for ImageMagick http://wand-py.org to directly manipulate images. I am however not able to deduce from the documentation how to use a grayscale transformation. ...
Mousebird asked 22/4, 2013 at 11:22
3
Solved
I am trying to read images directly as black and white.
I recently updated my OpenCv version to 3.0.0-dev, and the code that I used before does not work anymore.
img = cv2.imread(f, cv2.CV_LOAD_...
5
Solved
I am new to this site, and I come with a question about Android.
Is there any way to convert a Bitmap to grayscale? I know how to draw a grayscale bitmap (using canvas operations: http://www.mail-...
Furore asked 30/7, 2010 at 17:17
6
Solved
First of all, my question is different to How do I convert image to 2-bit per pixel? and unfortunately its solution does not work in my case...
I need to convert images to 2-bit per pixel grayscal...
Scooter asked 4/3, 2016 at 14:1
5
Solved
I've searched a lot on the web but I cannot find a cross browser solution to fade a css backgrund image to greyscale and back.
The only working solution is to apply CSS3 filter greyscale:
-webkit...
Every asked 2/5, 2013 at 14:3
2
Solved
How can I convert a cv::Mat to a gray scale?
I am trying to run drawKeyPoints func from opencv, however I have been getting an Assertion Filed error. My guess is that it needs to receive a gray sc...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.