I have the following image initial image and after I've converted it to binary binary image, I want in some way to keep only the 3 lines shown and remove the other objects. I've tried several things using region props etc in Matlab but I didnt manage to filter out these areas. Any idea?
Filter Binary Image to keep only the lines
239 Views Asked by Katerina T At
1
There are 1 best solutions below
Related Questions in IMAGE
- Add image to JCheckBoxMenuItem
- Display images on Django Template Site
- How to resize images with PHP PARSE SDK
- Animation in Java on top of JPanel
- Slow performance on ipad erasing image
- What are the pros and cons of the picture element?
- Carrierwave file upload with different file types
- How to use annotorious with angular
- Images not showing when uploaded to server
- ImageView doesn't show up
- Image Resizing adjusts ratio
- Displaying bitmap image on Android (OpenCV)
- Class 'Imagick' not found - PHP and Windows
- Image position - randomly select position
- Replace image 1 with image 2 after 5 sec
Related Questions in MATLAB
- How to open and read video stream in Matlab
- Interpolation and replace zeroes
- How can I fix my code to do line by line conditional statements in Matlab
- matlab crash during acquisition of pointgrey images
- Calling text file
- Apply gaussian filter on text
- re-plotting of data on same GUI axes in matlab
- Issue with nume1 in MATLAB
- Multiply two variables in Matlab with vpa - high precision
- ODE - Solving Parameter Dependent on Variable [Matlab]
- Need help in detecting multiple blobs
- How does TIC TOC in matlab work?
- Image based steganography that survives resizing?
- lowering computaional cost in finding the location of minimum distance
- FFT Filtering of signal
Related Questions in IMAGE-PROCESSING
- Need help in detecting multiple blobs
- Image based steganography that survives resizing?
- WinRT Extract Thumbnail from RAW image format
- 3D B-Spline approximation
- Qualitative and Quantitative analysis of filtered back projection / iradon in matlab
- How to detect objects in an image based on colour?
- How to make sense (handle) when computes logarithm of zero in prior information
- scilab - Drawing bounding box
- Lowpass filter non working
- Get a single line representation for multiple close by lines clustered together in opencv
- error while drawing several x-marks on a binary image in matlab
- Which method should I use to find gradient direction of pixels in an image?
- Finding Circle Boundary Pixels Coordinates and RGB Intensity Values from An RGB Input Image in Matlab
- using SURF for handdetection
- Using only one tool from CLImageEditor
Related Questions in BINARY-IMAGE
- OpenCV Save a Mat as Binary (1-bit depth) TIFF
- How to use an image having imaginary values for further processing like binarization in MATLAB?
- transform a pcl::pointcloud to binary image. c++
- Python equivalent for bwmorph('endpoints')
- How to connect disjointed lines or edges in images?
- Image masking by coordinate or changing binary image pixel to black based on the the coordinate
- Running transfer learning for my binary classification model following ResNetV250 model on tensorflow: Value error
- Delphi Retrieve JPG From Long binary data - JPEG error #53
- Conditional mask considering neighborhood in Python
- Matlab - How to binarize a grayscale image with multiple thresholds?
- Tensorflow finding pixels with matching value
- How to make a condition that checks the binary image array and finds the zero row from the center?
- Filter Binary Image to keep only the lines
- OpenCV kmeans binary image
- Problem on converting gray level image to binary image using Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Hough transform may be the first way to refer, but in case you are not satisfied with results, you can try to use morphological opening with lines as structuring elements. Since your lines are directed to several different directions, you should try any possible directions and then merge yielding images. If you have a prior knowledge about directions, you can make use of it and filter by direction too.
An example code block may look like this:
Morphological opening can be used to filter many shapes. Just select the structuring element according to your need. The above scripts give the following result for your specific image example: