Extracting foreground from binary image means cropping the unnecessary background part.
topics: image processing, Foreground extraction
visit the link:
http://naveenideas.blogspot.in/2016/02/matlab-cropping-binary-image-algorithm.html
https://en.wikipedia.org/wiki/Minimum_bounding_box
If all images that you want to process as the image on the site you can use the following function in Matlab, just pass your BW image and you will get a cropped image that contains just the object of interest without the background.
function final=crop(bwim)
img=bwim;
[x,y]=find(img>0);
maxy=max(y);
maxx=max(x);
miny=min(y);
minx=min(x);
final=img(minx:maxx,miny:maxy);
regards
Hello Dear
I have to say to you there are different if you extract object or you extract human skin
http://www.mathworks.com/help/images/ref/activecontour.html
http://clickdamage.com/sourcecode/index.php
the best way is to :
vh=sum(im);hh=sum(im');
vht=vh>threshold;hht=hh>threshold;
[x]=find(vht>0);
[y]=find(hht>0);
Hope to be usefull
How can we decide the vht and hht?
In general, RGB cameras are using for surveillance purpose. With the advancements in sensor technology, cost effective depth sensor like Kinect are available in the market. Can we use them for...
31 December 2018 5,170 2 View
In literature for action recognition task, cross subject test and cross view test are two major protocols for evaluating efficacy of the methods. In cross subject test protocol, half of the...
07 August 2018 9,907 0 View
Explanation of Feature Descriptor and Feature Vector with examples.
31 December 2017 5,154 1 View
Latex will prefer images in eps format. I have created images in jpg format. I want to convert images from jpg to eps.
10 November 2017 2,299 11 View
Programming related (Python)
08 September 2016 3,396 0 View
2D Gaussian smoothing filter applications
06 July 2016 8,994 1 View
high frequency and low frequency definitions with explanations
06 July 2016 7,957 2 View
MHI and MEI differences and Matlab code for MHI land MEI.
06 July 2016 7,122 3 View
Matlab code for viewing HoG descriptor.
06 July 2016 687 2 View
Explanation and Matlab code for symmetrical moving Avg filter
06 July 2016 4,431 0 View
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
dear community, my model is based feature extraction from non stationary signals using discrete Wavelet Transform and then using statistical features then machine learning classifiers in order to...
03 March 2021 6,994 5 View
I'm involved in a study of odor control technologies for municipal wastewater treatment plant. One of the control options involves a chemical 2-stage (acid/alkaline) packed bed scrubber. The...
03 March 2021 3,661 2 View
Do you have some recommendations approaches on Image processing and classification of plant diseases using TensorFlow/Keras?
02 March 2021 1,493 4 View
Working on chandrayaan-2 DFSAR data, there are three datasets available: 1) Slant range image data product: The slant range complex image file. Each pixel is represented by two 4-byte floating...
02 March 2021 8,481 3 View
I would like to research on MR images (0.5T and 3T). Can you please suggest some websites that I can download dataset including both 0.5T and 3T MR images? Thank you.
02 March 2021 7,735 3 View
I'm in the process of doing a meta-analysis and have encountered some problems with the RCT data. One of my outcom is muscle strength. In one study, I have three different measurements of muscle...
25 February 2021 7,603 3 View
What is the disadvantages of high sulfur content to the ceramic burning process? and what is the effect of outranged viscosity?
24 February 2021 8,219 2 View
I have two scenes of the study area, one top and the other bottom. As per the tutorials and papers published, the step include coregistering the master sand slave images. However, when i try to...
24 February 2021 6,372 1 View
I am helping a local home industry for developing frozen fries from their local farm. I want to know what is the optimum blanching and pre-frying temperature and time for processing. Please also...
23 February 2021 1,616 5 View