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,317 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 10,028 0 View
Explanation of Feature Descriptor and Feature Vector with examples.
31 December 2017 5,329 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,422 11 View
Programming related (Python)
08 September 2016 3,674 0 View
Matlab code for viewing HoG descriptor.
06 July 2016 806 2 View
MHI and MEI differences and Matlab code for MHI land MEI.
06 July 2016 7,417 3 View
Explanation and Matlab code for symmetrical moving Avg filter
06 July 2016 4,580 0 View
2D Gaussian smoothing filter applications
06 July 2016 9,146 1 View
high frequency and low frequency definitions with explanations
06 July 2016 8,074 2 View
After COVID-19 it has seen that EFL learners technological affiliation has raised. In addition, in the post-COVID period learners started to engage AI technologies like ChatGPT while learning...
08 August 2024 8,964 4 View
Hoy la animación se utiliza como una tecnología multimedia con gran potencial educativo, que va mucho más allá de sólo crear figuras, ya que puede promover una mejor comprensión en...
01 August 2024 7,186 0 View
I am currently working on validating land subsidence results obtained using SBAS InSAR. Could anyone suggest reliable sources or repositories where I can download a historical DEM from 2018?...
31 July 2024 9,757 3 View
Hello, colleagues. Recently, I have been working on a metal processing simulation with my UMAT in Abaqus. I have outlined the corresponding simulation, but I keep encountering issues that cause...
30 July 2024 7,062 1 View
i need a recent digital banking topic for doing my Ph.d research
29 July 2024 5,210 2 View
I intend to explore and assess how offline womens' modern apparel store are losing out online and the need to get them on board based on this assessment. I am on a student on MPHIL Media and...
26 July 2024 1,440 1 View
In running two-dimensional gel electrophoresis on bacterial protein, some spots that appear to match a protein sequence have a significantly more acidic isoelectric point than the calculated pI....
24 July 2024 8,076 3 View
How to measure the link between a School's digital transformation and competitive advantage? What measurement models to use? Secondary schools are under investigation.
24 July 2024 2,526 5 View
"Integration of Mass Media and Communication into the System of International Relations: Place, Role, Actuality and Prospects: Modern Media Issues 2024" Website: https://immcir.alnoor.edu.iq/
23 July 2024 3,139 6 View
// interested in the difference between floating events and short circuits.
22 July 2024 6,565 0 View