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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Ellen Arena
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!

Ellen

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

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

Albert Cardona-2
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
Reply | Threaded
Open this post in threaded view
|

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

Kenneth Sloan
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
Reply | Threaded
Open this post in threaded view
|

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

Ellen Arena
Thank you for your help in this…  is this the plugin to which you are both referring for the 'register' of images?

http://fiji.sc/wiki/index.php/Register_Virtual_Stack_Slices

Many thanks.

Ellen



On 13 févr. 2014, at 16:44, Kenneth Sloan wrote:

> 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

------------------------------------------------------
Ellen T. Arena, PhD
Pasteur Foundation Postdoctoral Fellow
Unité de Pathogénie Microbienne Moléculaire
INSERM U786
Institut Pasteur
28 rue du Dr Roux
F - 75724 PARIS Cédex 15
France
Tel: (33-0) 1 40 61 37 71
Fax: (33-0) 1 45 68 89 53
[hidden email]
------------------------------------------------------


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