Page 1 of 1

Dynamic limb detection / split stretch?

Posted: Fri Aug 02, 2024 5:52 pm
by FlankerOneTwo
So I had a thought at an outreach program the other day - I'm frequently sliding the stretch back and forth when the limb is visible to demonstrate the proms, then back to the stretch for the surface, and so on. Since SC seems to be able to do limb detection pretty well in the calibration, is there any possibility of doing a dynamic split stretch? In otherwords, user toggles on a switch and SC finds the limb and applies different stretches to either side of it to simultaneously demonstrate proms and surface features. The user could say click in the image window to indicate which stretch they wish to manipulate in the Histogram stretch panel. SC seems to track the limb pretty well during calibration routines so this could be updated in real time as you pan the scope around. That would be really awesome.

Re: Dynamic limb detection / split stretch?

Posted: Sat Aug 03, 2024 1:59 pm
by admin
Hi,

nice idea - it ought to be possible as the limb detection does work fairly reliably. Something simple to begine with like 'make the stuff outside the limb 5x brighter' than inside (with the brightening factor adjustable) might be a good start. I think you'd probably also want a 'limb offset' adjustment so you could move the cutoff line in/out to get it as close as possible to the right place.

Although, thinking about it why bother detecting the limb at all? Have a brightness cut off of maybe 25% - anything darker than that is outside the limb and gets stretched differently. That might work...

thanks for the suggestion - I will put it on the todo list.

cheers,

Robin