Questions tagged [binary-image]

Used for questions concerning images of two colors (usually black and white). Such images are common in object detection, edge detection, object counting etc.

A binary image is a digital image that has only two possible values for each pixel. Typically, the two colors used for a binary image are black and white, though any two colors can be used. The color used for the object(s) in the image is the foreground color while the rest of the image is the background color.

131 questions
0
votes
1 answer

I am sending email with image. I have only the binary code. Is there any way to send it to email body?

If I use this code it shows me the image. But I want to send this in my email body. But inside the email body when I write this code it shows only the image tag with the binary code. How can I send this image as my email body image with the binary…
0
votes
0 answers

Binarization of an image with uneven lighting

I am trying to binarize the following image, which is not taken under ideal laboratory conditions as light isn't uniform across it. My goal is to get a result which will display the background of the image as white, and the droplets on the…
Zed Kay
  • 133
  • 1
  • 2
  • 13
0
votes
1 answer

Get image type from binary data image & convert it to actual image in PHP

frankly speaking, I'm not sure if this is duplication of another question since the context should be different. I currently working with some API that returns status & contents(binary data image) which I will base64 encode at first. The question is…
Wafie Ali
  • 228
  • 9
  • 24
0
votes
1 answer

Tensorflow finding pixels with matching value

I am trying to create data batches for training 2 class semantic segmentation network. The target segmented image has 2 layers, first layer with 1 for all pixels of class-1 and 0 otherwise. The second layer has pixels inverted. In the dataset I have…
anna.sarp
  • 187
  • 2
  • 14
0
votes
1 answer

How can I rotate connected components so that they are upright in Matlab?

Currently I am working with a sudoku grid and I have the binary image. I am using Regionprops to get the area of the connected components and then turn the rest of the image black. After this I call the OCR method to try and read the sudoku numbers.…
tushariyer
  • 906
  • 1
  • 10
  • 20
0
votes
0 answers

Binary Erode Speed-up with Cython

I am looking to accelerate a binary erosion image processing function with Cython, although I am new to Cython. I am not seeing the drastic speedups I was expecting. I am looking for help to optimize this code as I am still not familiar with how C…
Alex Magsam
  • 53
  • 1
  • 7
0
votes
0 answers

Binarize a Gray Scale QR Code image while maintaining its readibility

We get computer generated QR Codes which are in Gray Scale format. These QR Codes are readable. However, we need to convert these Grayscale QR Codes into a Binary Format for a particular end application. This is where the problem arises. When we…
0
votes
0 answers

Matlab morphological operation - thin vs. skel?

I'm wondering if someone can explain the difference between these two Matlab algorithms, bwmorph(binary_image,'thin',N_iterations) and bwmorph(binary_image,'skel',N_iterations). For my application, they produce results that are typically slightly…
Llouis
  • 26
  • 5
0
votes
0 answers

Initializing tables in light speed labeling equivalence construction

I'm trying to implement light speed labeling (in Matlab). In Algorithm 14 of this article, one uses a table ERA holding the equivalence between relative and absolute labels, and a table EQ holding equivalence classes.…
0
votes
1 answer

Matlab implementation of light speed labeling

I am trying to implement code for the light speed labeling technique described in this article (I cannot use the Image Processing Toolbox): https://pdfs.semanticscholar.org/ef31/7c257603004d818ca1e2a2aa67d36d40147e.pdf (see section 2, page 7). Here…
Fennec
  • 13
  • 4
0
votes
3 answers

How to create a convex hull of all binary spots in ImageJ

I have a binary image of separated spots. Is there any ImageJ plugin that could construct convex hull of all spots? Or could you recommend another program, not ImageJ, that can do this?
Ivan Z
  • 1,517
  • 1
  • 16
  • 25
0
votes
0 answers

Increase channels connectivity in a binary image

I would like to connect the channels to the closest point possible so that no channel remains unconnected as shown in the before and after binary images below. Is there any approach/idea to follow? Image 1 - Before. Image 2 - After.
MoeAmine
  • 5,976
  • 2
  • 18
  • 21
0
votes
1 answer

transform a pcl::pointcloud to binary image. c++

I'm trying to convert a planar section of a pcl::pointcloud into a binary image. I found a class called savePNGFile, but is not working well with my program. Until now I did a ROI selector and a intensity filter to get the points I want. void…
0
votes
1 answer

How to use an image having imaginary values for further processing like binarization in MATLAB?

I have a gray image on which I have applied homomorphic filtering. The result of this filtering gives me an image which has some complex numbers as it's pixel values. When I viewed imaginary image and real image separately, then I realized I need…
0
votes
1 answer

How to convert a MATLAB plot in 3d to a binary image?

I use trisurf for plotting a convex hull. I need to convert it to binary image for using "Geometric measures in 2D/3D images" for calculating "Minkowski functionals" but I don't know how to convert.
sarvenaz
  • 1
  • 5
1 2 3
8 9