1 / 11

Dr. Niels Lobo Computer Science

Dr. Niels Lobo Computer Science. Using the Lens Macro in ImageJ. Outline. Inverse Relationship Ratios Lenses Using the Lens Macro Lenses in ImageJ. Inverse Relationship. When the distance between the object and the camera decreases the size of perceived image increases.

admon
Download Presentation

Dr. Niels Lobo Computer Science

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dr. Niels LoboComputer Science Using the Lens Macro in ImageJ

  2. Outline • Inverse Relationship • Ratios • Lenses • Using the Lens Macro • Lenses in ImageJ

  3. Inverse Relationship • When the distance between the object and the camera decreases the size of perceived image increases. • When the distance between the object and the camera increases the size of the perceived image decreases. to

  4. Ratios Ratios are the comparative quantities by which figures are proportional to each other. Example: If the area of A(1x4) is 4 and the area of B(2x8) is 16, the ratio is 4/16, or 1/4

  5. Lenses A lens takes one image and scales that image down, using an inverse relationship based on the distance between lens and image, while flipping the image as well. Example: Eyes

  6. Inverse Relationship Question Question: What is the new height of the highlighted triangle, (base: 17, height: 3, A. 3to area: 25.5) B. 10 (base:17, C. 9 height: ?, area: 76.5) ?

  7. Using the Lens Macro • Open ImageJ • Go to plugins> macros> run…

  8. Using the Lens Macro • Select 111lens.txt • This will take you to My Pictures, select any picture you like.

  9. Using the Lens Macro • Now, you can drag and drop the picture anywhere on the screen. • Notice how the values of XO, OY, AX, YB change, when you change the picture’s position relative to O. Drag with mouse

  10. Lenses in ImageJ In this equation, k is the scalingratioof the distances, X to O and O to Y:

  11. Lenses in ImageJ Question In this picture what is k (the scaling ratio of XO to OY) equal to?

More Related