Questions tagged [grayscale]

For questions regarding Grayscale, a Bootstrap theme.

890 questions
-3
votes
2 answers

Grayscale to RGB conversion

How can I solve this error ? import matplotlib, cv2 import numpy as np import matplotlib.pyplot as plt img = cv2.imread('C:/Users/xxx/Desktop/image.jpg') img = np.array(img, dtype=np.uint8) plt.imshow(cv2.cvtColor(img,…
Mayar
  • 11
  • 1
  • 2
-3
votes
3 answers

convert a greyscale image into rgb image using c#

Hi there I have a greyscale jpeg image and I need to open it and convert it in rgb. I need the fastest way is possible but I've not been able to find one. For me it's fine to populate the rgb values with the greyscale value. Just doing using…
davide93
  • 1
  • 5
-3
votes
1 answer

How to draw a black border around the image

How can I crop the image such that it will only contain the leaf and not have the noise part?
-5
votes
1 answer

How to convert RGB to grayscale by using color dimensions

I would like to transform my RGB image to grayscale image by not using converting function but with the red green blue values . For example, if my image is totally blue, it will be converted to white if I get blue components of it and it will be…
HilmiK
  • 53
  • 9
-5
votes
1 answer

C# Convert Grayscale data to colored image

I want to convert grayscale data to colored image using C#. I try 2D and convert 1D data and show bitmap, but I want to show Colored image.
flanker_42
  • 19
  • 3
1 2 3
59
60