PETRONODE

Software Manual Pages

python

 

Clipping Techlog Plots

Use either inside or outside Techlog

Depending on the size of the well, Techlog tends to leave blank space at the bottom of the log plots. The Petronode.Clipimage utility is provided to crop the plots from top and bottom for use on montages. Besides the plot cropping, it is a convenient way to extract log inserts and other such graphics from plots.

 

Petronode.ClipImage.exe

 

The utility crops a predefined number of pixels from the top, then removes the blank space from the image bottom. The blank space is defined as all pixels in the row being brighter than (R>200 and G>200 and B>200).

 

The CLI is as following:

 

 

The following Python script can be used inside or outside Techlog

Download code.