Questions about focal length of camera in ChimeraX

Thanks very much for your software so that I can specify the camera position and then take a snapshot. However, I can't find the information on the focal length of the virtual camera. I am using mono (default) – monoscopic with perspective (apparent size decreasing with distance from the viewer), and I didn't see any details about the camera intrinsics. Regards, Bin ----------------------------------------------------------------------------------------------- Department of Materials Science and Engineering, University of Toronto Email: binmse.shi@mail.utoronto.ca

Hi Bin, I guess you mean angular field of view of the ChimeraX camera. By default it is 30 degrees (horizontal full width). The value is reported if you type the command "camera" and you can set it to a different value with that command camera fieldOfView 60 Focal length is a property of lenses. There is no lens or depth blur emulation in ChimeraX. Tom
On Mar 24, 2021, at 9:23 AM, Bin Shi <binmse.shi@mail.utoronto.ca> wrote:
Thanks very much for your software so that I can specify the camera position and then take a snapshot. However, I can't find the information on the focal length of the virtual camera.
I am using mono (default) – monoscopic with perspective (apparent size decreasing with distance from the viewer), and I didn't see any details about the camera intrinsics.
Regards,
Bin ----------------------------------------------------------------------------------------------- Department of Materials Science and Engineering, University of Toronto Email: binmse.shi@mail.utoronto.ca <mailto:binmse.shi@mail.utoronto.ca>
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu <mailto:ChimeraX-users@cgl.ucsf.edu> Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>

Hi Bin, Focal length may not have a meaning in ChimeraX, because you can't make an image "out of focus" ... i.e., it doesn't get blurry at any distance. There is only the angular field of view, eye separation, ... as explained in this page: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/camera.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Mar 24, 2021, at 9:23 AM, Bin Shi <binmse.shi@mail.utoronto.ca> wrote:
Thanks very much for your software so that I can specify the camera position and then take a snapshot. However, I can't find the information on the focal length of the virtual camera.
I am using mono (default) – monoscopic with perspective (apparent size decreasing with distance from the viewer), and I didn't see any details about the camera intrinsics. Regards, Bin

Emm. thank you, I will think about that. there seem to be relationships between the sizes of images in the screen coordinates and the sizes of volumes in the scene coordinates. Since it is monoscopic with perspective, it doesn't seem to simply copy the orthographic projections into the images.. Regards, Bin ________________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Wednesday, March 24, 2021 1:40 PM To: Bin Shi <binmse.shi@mail.utoronto.ca> Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] Questions about focal length of camera in ChimeraX EXTERNAL EMAIL: Hi Bin, Focal length may not have a meaning in ChimeraX, because you can't make an image "out of focus" ... i.e., it doesn't get blurry at any distance. There is only the angular field of view, eye separation, ... as explained in this page: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/camera.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Mar 24, 2021, at 9:23 AM, Bin Shi <binmse.shi@mail.utoronto.ca> wrote:
Thanks very much for your software so that I can specify the camera position and then take a snapshot. However, I can't find the information on the focal length of the virtual camera.
I am using mono (default) – monoscopic with perspective (apparent size decreasing with distance from the viewer), and I didn't see any details about the camera intrinsics. Regards, Bin

Hi Bin, If you want orthoscopic projection use ChimeraX command camera ortho See the camera command documentation for more options. https://www.cgl.ucsf.edu/chimerax/docs/user/commands/camera.html <https://www.cgl.ucsf.edu/chimerax/docs/user/commands/camera.html> Tom
On Mar 24, 2021, at 10:47 AM, Bin Shi <binmse.shi@mail.utoronto.ca> wrote:
Emm. thank you, I will think about that. there seem to be relationships between the sizes of images in the screen coordinates and the sizes of volumes in the scene coordinates. Since it is monoscopic with perspective, it doesn't seem to simply copy the orthographic projections into the images..
Regards,
Bin From: Elaine Meng <meng@cgl.ucsf.edu <mailto:meng@cgl.ucsf.edu>> Sent: Wednesday, March 24, 2021 1:40 PM To: Bin Shi <binmse.shi@mail.utoronto.ca <mailto:binmse.shi@mail.utoronto.ca>> Cc: chimerax-users@cgl.ucsf.edu <mailto:chimerax-users@cgl.ucsf.edu> <chimerax-users@cgl.ucsf.edu <mailto:chimerax-users@cgl.ucsf.edu>> Subject: Re: [chimerax-users] Questions about focal length of camera in ChimeraX
EXTERNAL EMAIL:
Hi Bin, Focal length may not have a meaning in ChimeraX, because you can't make an image "out of focus" ... i.e., it doesn't get blurry at any distance. There is only the angular field of view, eye separation, ... as explained in this page:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/camera.html <https://rbvi.ucsf.edu/chimerax/docs/user/commands/camera.html>>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Mar 24, 2021, at 9:23 AM, Bin Shi <binmse.shi@mail.utoronto.ca <mailto:binmse.shi@mail.utoronto.ca>> wrote:
Thanks very much for your software so that I can specify the camera position and then take a snapshot. However, I can't find the information on the focal length of the virtual camera.
I am using mono (default) – monoscopic with perspective (apparent size decreasing with distance from the viewer), and I didn't see any details about the camera intrinsics. Regards, Bin
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu <mailto:ChimeraX-users@cgl.ucsf.edu> Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
participants (3)
-
Bin Shi
-
Elaine Meng
-
Tom Goddard