| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_extract.h
Go to the documentation of this file.
1
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string.h>
12 #include <ctype.h>
13 #include <unistd.h>
14 #include <math.h>
15 #include <time.h>
16 #include "rwimg.h"
17
18 // Function prototypes
19 Bimage* img_extract(Bimage* p, int img_number);
20 Bimage* img_extract(Bimage* p, int img_number, Vector3<float> start, Vector3<int> size);
21 Bimage* img_extract_shell(Bimage* p, int img_number, float minrad, float maxrad);
22 Bimage* img_extract_tiles(Bimage* p, int img_number, Vector3<int> start,
23 Vector3<int> size, Vector3<int> tile_size, int exceed);
24 Bimage* img_extract_tiles_at_coords(Bimage* p, int img_number,
25 int ntiles, Vector3<int>* coords, Vector3<int> tile_size);
26 Bimage* img_extract_orthogonal_slices(Bimage* p, int img_num, Vector3<int> voxel,
27 Vector3<int> size);
28 Bimage* img_extract_show(Bimage* p, int aflag);
29 Bimage* img_extract_magnifying(Bimage* p, int img_num, Vector3<int> center,
30 Vector3<int> size, float scale);
31 Bimage* img_extract_particles(Bimage* p, float radius, float bad_radius,
32 int ncoord, int nbad, float* coords);
33 Bimage* img_extract_filament(Bimage* p, int img_num, double width,
34 int axis, long nspline, Vector3<float>* spline);
35
img_extract_orthogonal_slices
Bimage * img_extract_orthogonal_slices(Bimage *p, int img_num, Vector3< int > voxel, Vector3< int > size)
Extracts orthogonal views around a voxel.
Definition: img_extract.cpp:505
img_extract_tiles_at_coords
Bimage * img_extract_tiles_at_coords(Bimage *p, int img_number, int ntiles, Vector3< int > *coords, Vector3< int > tile_size)
Extracts a set of tiles at specified positions from an image into a new image.
Definition: img_extract.cpp:445
img_extract_filament
Bimage * img_extract_filament(Bimage *p, int img_num, double width, int axis, long nspline, Vector3< float > *spline)
Extracts a filament defined by a series of coordinates.
Definition: img_extract.cpp:966
Vector3< float >
Bimage
General image parameter class.
Definition: Bimage.h:150
img_extract_magnifying
Bimage * img_extract_magnifying(Bimage *p, int img_num, Vector3< int > center, Vector3< int > size, float scale)
Extracts a region from an image to magnify.
Definition: img_extract.cpp:752
img_extract
Bimage * img_extract(Bimage *p, int img_number)
Extracts part of an image into a new image.
Definition: img_extract.cpp:35
img_extract_tiles
Bimage * img_extract_tiles(Bimage *p, int img_number, Vector3< int > start, Vector3< int > size, Vector3< int > tile_size, int exceed)
Extracts a set of tiles from an image into a new image.
Definition: img_extract.cpp:347
img_extract_show
Bimage * img_extract_show(Bimage *p, int aflag)
Converts a slice from an image to a 2D plane for display.
Definition: img_extract.cpp:693
img_extract_shell
Bimage * img_extract_shell(Bimage *p, int img_number, float minrad, float maxrad)
Extracts a shell from an image into a new image.
Definition: img_extract.cpp:237
rwimg.h
Header file for 2D and 3D image I/O.
img_extract_particles
Bimage * img_extract_particles(Bimage *p, float radius, float bad_radius, int ncoord, int nbad, float *coords)
Extracts particles defined by a series of coordinates.
Definition: img_extract.cpp:889