Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

measure diameter (tickhness) from binairy picture

Solved!
Go to solution

that's what I'm using now 🙂

but it only uses 15 colors in al my images

 

 

0 Kudos
Message 31 of 64
(2,099 Views)

The values produced by the Danielsson algorithm will go up to the limit of your image (255), but the binary display palette rotates through 15 colors and reuses colors for different values.

 

You could generate your own custom palette, or you could try some other palettes.  The rainbow and gradient palettes might look cool.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 32 of 64
(2,084 Views)

How can I generate my own custum palette? there's no entrance for a palette?

 

 

0 Kudos
Message 33 of 64
(2,064 Views)
paal.JPG
Message 34 of 64
(2,063 Views)

It doesn't work, if I create my own pallete it still uses the 15 colors....

0 Kudos
Message 35 of 64
(2,061 Views)

ow got it!

 

Thanks 🙂

0 Kudos
Message 36 of 64
(2,060 Views)
Any update on the thickness measurement?
0 Kudos
Message 37 of 64
(2,058 Views)

I'm almost there 🙂

Should I post it as solved? or can I wait until I've really solved it myself?

0 Kudos
Message 38 of 64
(2,056 Views)
I f you have solved it mark the post that helped you as the solution. Might help someone in the future.
0 Kudos
Message 39 of 64
(2,052 Views)

Hello,

 

I've got some new questions, In the attachment is my program so far.

There are some new problems, I've used the function skeletonize, only

this function doesn't work the way I want, I thought it would look at

the vains and draw a line in the middle of the vain but there are a lot of

side vains which there aren't at the normal picture. How can I solve this?

I also thought up another function, but I don't know if that exist.

Does anyone know if there is a reversed danielson function? if there is

I would like to know!

 

Thanks!

0 Kudos
Message 40 of 64
(1,994 Views)