Login  Register

Re: Two cameras : Two images : Re-size/-scale

Posted by Kenneth Sloan on Feb 13, 2014; 3:44pm
URL: http://imagej.273.s1.nabble.com/Two-cameras-Two-images-Re-size-scale-tp5006515p5006517.html

How about:

a) register image A onto image B
b) Draw ROI in either image
c) move “as is” to the other image

Does this not work?

I think this question makes a good case for normalizing sets of image to a consistent (perhaps domain-specific meaningful) orientation, translation, and scale.  Once you have done this, everything else becomes easier.  Cropping/padding the images so that they are the same size is a bonus, but probably only required if you need to apply pixel-level operations to the images.

--
Kenneth Sloan
[hidden email]


On Feb 13, 2014, at 06:54 , Albert Cardona <[hidden email]> wrote:

> 2014-02-13 4:04 GMT-05:00 Ellen Arena <[hidden email]>:
>
>> I just need a 'nudge' to get me started here...
>>
>> I have two images - taken on two different cameras on the same scope.  I
>> need to draw ROIs on one and overlay them on the other
>> - but they are different sizes/scales.  Does anyone have any
>> recommendations to get me started??  I can send you two example images of
>> beads - one from each camera - if needed.
>>
>> Any help would be great!
>>
>
>
> An approach could be:
>
> 1. Draw ROI in image A.
> 2. Create a mask from the ROI.
> 3. Register image A onto image B.
> 4. Apply the same transform to the mask.
> 5. Convert the transformed mask to a ROI.
> 6. Set the roi onto image B.
>
> The registration could be done with "Register Virtual Stack Slices" Fiji
> plugin, which saves the transforms and lets you apply them to other images.
>
> Converting a ROI to a mask and a mask to a ROI are built-in ImageJ
> functions.
>
> Best,
>
> Albert
>
>
> --
> http://albert.rierol.net
> http://www.ini.uzh.ch/~acardona/
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html