The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: labeling superpixels
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 8/16/14
labeling superpixels
Posted: Aug 16, 2014 3:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hey, i want to label a hole superpixel for more clarity of the object and the background based on the number of labels of pixels , i had the label using regression tree :
this piece of code is not working :
for ij = 1 : size (SP, 1)
if Label1(SP(ij))== 1
n = n + 1;

for zz = 1 : size (SP, 1)
NB = m/(m+n) ;
if NB > 0.6
Label1( Label1(SP(zz))== 2) = 1;%set all object
Label1( Label1(SP(zz))== 1) = 2;%set all background
Help please ?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.