Author Archives: Blogs on jonathanBieler.github.io

Catching the moon at the right time with Julia

By: Blogs on jonathanBieler.github.io

Re-posted from: https://jonathanbieler.github.io/blog/moon_and_sun/

The moon on a night sky is surprisingly bright, especially for a camera with limited dynamic range. And there’s only so many compositions one can do of the moon on a naked sky. For those reasons taking moon pictures at sunrise or sunset, when the moon is close to the horizon and its relative brightness is comparable to ambient light often brings more interesting (or at least varied) results.

Exploring Depth-Based Raw Photo Processing in Julia

By: Blogs on jonathanBieler.github.io

Re-posted from: https://jonathanbieler.github.io/blog/focal.jl/

Models for estimating depth from a single image
(e.g, Depth-Anything-V2,
MiDaS) are pretty good nowadays, to the point
where they can be used for photo editing (even Photoshop use them).

In this article, I explore some applications of a depth mask for phography using Depth-Anything-V2 in Julia. The most obvious use case is to simulate bokeh (especially for smartphone that often can’t produce shallow depth of field optically), but a depth mask can also be used to add or remove haze from an image, simulate lighting with a flash or provide a natural vignette. These can help to add depth to an image and emphasize its subject.

From FASTQ to CNV calls in Julia

By: Blogs on jonathanBieler.github.io

Re-posted from: https://jonathanbieler.github.io/blog/fastq2cnv/

I’ve recently worked on Julia bindings for BWA, allowing to align sequencing reads (FASTA or FASTQ) to a reference genome directly from Julia. On top of this, updates to XAM.jl and BioRecordsProcessing.jl will make it possible to build end-to-end workflows in Julia, from raw reads to analysis results.
To illustrate this I will showcase online whole-genome sequencing (WGS) copy number variation (CNV) calling on a mouse kidney tumor sample.
Briefly, we need to do the following :