New Reply

Mathematica Calculating length from pixel count

 
Share Thread Thread Tools
May11-12, 12:53 PM   #1
 

Mathematica Calculating length from pixel count


Hello. Does anyone know of a fast way of converting pixel count into a length metric (preferably using Mathematica)? I have an imaging program that segments and measures the lengths of objects in an image, but the only parameter that I can extract is pixel count, which then can get converted to length if I measure a ruler using the program.

But if objects are diagonal in the image, then the program will obviously see them take up fewer pixels because they have to cross an extra √(2) in order to get detected. So I can't just multiply the pixel count by a constant ratio, since orientation matters.

A lot of my objects are curved, so this isn't a matter of just measuring orientation and then multiplying by an appropriate factor. I'm sure this problem has been dealt with before, and I could probably flesh out a brute force way of solving this pixel-by-pixel, but there's gotta be an easier way to do this.

Thanks much,

wil3
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
New Reply

Tags
mathematica, pixels, segmentation
Thread Tools


Similar Threads for: Mathematica Calculating length from pixel count
Thread Forum Replies
Calculating Arc Length Calculus & Beyond Homework 3
Mathematica count Math & Science Software 1
Pixel count for faint star Advanced Physics Homework 0
Calculating uncertainty of a function in Mathematica Math & Science Software 1
Calculating Integral in Mathematica Math & Science Software 7