Home »
Public Forums »
archive »
Scale many regions in one image without using xroi
Scale many regions in one image without using xroi [message #81687] |
Mon, 08 October 2012 06:12 |
eeaal
Messages: 4 Registered: October 2012
|
Junior Member |
|
|
Hi,
I've been searching all morning and can't find an answer to a problem
I'm having:
I have two 2-D arrays which have clusters of 1s in an array of 0s.
I'm interested these clusters (shapes). Some of the shapes are
present in both arrays, some are missing from one or the other and in
array 2 the shapes are too small. I want to scale up the shapes in
array 2 so that the coincident shapes are the same size in both
arrays. I can use label_region to find the shapes and calculate a
correction factor. I just need a way to scale the shapes, presumeably
by growing them from a central point.
Any ideas? I want to include this in a program which loops round
hundreds of images so using XROI is not really an option...
Thanks in advance.
AA
|
|
|
Current Time: Wed Oct 08 18:41:53 PDT 2025
Total time taken to generate the page: 0.00403 seconds