| Bsoft 2.0.5 Bernard's software package

Classes | Functions | Variables
tcltk_bimage.cpp File Reference

A shared object to load Bsoft image files in TCL/Tk. More...

`#include <tk.h>`
`#include "rwimg.h"`
`#include "mg_ctf.h"`
`#include "Vector3.h"`
`#include "Euler.h"`
`#include "linked_list.h"`
`#include "timer.h"`
`#include "utilities.h"`

Go to the source code of this file.

## Classes
struct | Bmontage

## Functions
int | do_show (Bimage *p, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int | do_magnify (Bimage *p, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int | do_template (Bimage *p, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
Bimage * | do_montage (Bimage *p)
Tcl_Obj * | do_delete (Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | do_get (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_set (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_switch (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_fix_type (Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | do_stats (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_center (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_zero_origin (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_extract (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_crop (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_pad (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_invert (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_truncate (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_rescale (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_reslice (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_rotate (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_bin (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_average (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_variance (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_normalize (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_gaussian (Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | do_histogram (Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | do_radial_average (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_diffraction_origin (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | do_fft (Bimage *p, int objc, Tcl_Obj *CONST objv[])
Bimage * | do_powerspec (Bimage *p, int objc, Tcl_Obj *CONST objv[])
int | image_processing (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int | image_render (Bimage *p, long i, Tcl_Interp *interp, Bstring &photoName)

## Variables
int | verbose
Bimage * | imglist
Bimage * | imgtemp
struct Bmontage | mont = {0,0,0,0,0,0,0}

## Detailed Description

A shared object to load Bsoft image files in TCL/Tk.

Author
  Bernard Heymann

Date
  Created: 20010210
  Modified: 20191001

Definition in file tcltk_bimage.cpp.

## Function Documentation

## ◆ do_average()

int do_average | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1248 of file tcltk_bimage.cpp.

## ◆ do_bin()

int do_bin | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1233 of file tcltk_bimage.cpp.

## ◆ do_center()

int do_center | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1031 of file tcltk_bimage.cpp.

## ◆ do_crop()

int do_crop | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1093 of file tcltk_bimage.cpp.

## ◆ do_delete()

Tcl_Obj * do_delete | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 713 of file tcltk_bimage.cpp.

## ◆ do_diffraction_origin()

int do_diffraction_origin | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1400 of file tcltk_bimage.cpp.

## ◆ do_extract()

int do_extract | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1049 of file tcltk_bimage.cpp.

## ◆ do_fft()

int do_fft | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1429 of file tcltk_bimage.cpp.

## ◆ do_fix_type()

int do_fix_type | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 962 of file tcltk_bimage.cpp.

## ◆ do_gaussian()

int do_gaussian | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1291 of file tcltk_bimage.cpp.

## ◆ do_get()

Tcl_Obj * do_get | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 728 of file tcltk_bimage.cpp.

## ◆ do_histogram()

Tcl_Obj * do_histogram | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1306 of file tcltk_bimage.cpp.

## ◆ do_invert()

int do_invert | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1153 of file tcltk_bimage.cpp.

## ◆ do_magnify()

int do_magnify | ( | Bimage * | p,
|  | Tcl_Interp * | interp,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 607 of file tcltk_bimage.cpp.

## ◆ do_montage()

Bimage * do_montage | ( | Bimage * | p | ) |

Definition at line 691 of file tcltk_bimage.cpp.

## ◆ do_normalize()

int do_normalize | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1276 of file tcltk_bimage.cpp.

## ◆ do_pad()

int do_pad | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1127 of file tcltk_bimage.cpp.

## ◆ do_powerspec()

Bimage * do_powerspec | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1447 of file tcltk_bimage.cpp.

## ◆ do_radial_average()

Tcl_Obj * do_radial_average | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1329 of file tcltk_bimage.cpp.

## ◆ do_rescale()

int do_rescale | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1179 of file tcltk_bimage.cpp.

## ◆ do_reslice()

int do_reslice | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1197 of file tcltk_bimage.cpp.

## ◆ do_rotate()

int do_rotate | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1211 of file tcltk_bimage.cpp.

## ◆ do_set()

int do_set | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 854 of file tcltk_bimage.cpp.

## ◆ do_show()

int do_show | ( | Bimage * | p,
|  | Tcl_Interp * | interp,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 513 of file tcltk_bimage.cpp.

## ◆ do_stats()

Tcl_Obj * do_stats | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 973 of file tcltk_bimage.cpp.

## ◆ do_switch()

int do_switch | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 948 of file tcltk_bimage.cpp.

## ◆ do_template()

int do_template | ( | Bimage * | p,
|  | Tcl_Interp * | interp,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 645 of file tcltk_bimage.cpp.

## ◆ do_truncate()

int do_truncate | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1162 of file tcltk_bimage.cpp.

## ◆ do_variance()

int do_variance | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1263 of file tcltk_bimage.cpp.

## ◆ do_zero_origin()

int do_zero_origin | ( | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1040 of file tcltk_bimage.cpp.

## ◆ image_processing()

int image_processing | ( | Tcl_Interp * | interp,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 153 of file tcltk_bimage.cpp.

## ◆ image_render()

int image_render | ( | Bimage * | p,
|  | long | i,
|  | Tcl_Interp * | interp,
|  | Bstring & | photoName
| ) |  |

Definition at line 441 of file tcltk_bimage.cpp.

## Variable Documentation

## ◆ imglist

Bimage* imglist

Definition at line 30 of file bshow.cpp.

## ◆ imgtemp

Bimage* imgtemp

Definition at line 34 of file bshow.cpp.

## ◆ mont

struct Bmontage mont = {0,0,0,0,0,0,0}

## ◆ verbose

int verbose