BQAPI Services

Image Service

The image service has the following endpoints:

<resource uri="/image_service">
<method name="/image_service/operations" value="Returns a list of supported operations in XML"/>
<method name="/image_service/formats" value="Returns a list of supported formats in XML"/>
<method name="/image_service/ID" value="Returns a file for this ID"/>
<method name="/image_service/ID?OPERATION1=PAR1&OPERATION2=PAR2" value="Executes operations for give image ID. Call /operations to check available"/>
<method name="/image_service/ID/OPERATION1:PAR1/OPERATION2:PAR2" value="Executes operations for give image ID. Call /operations to check available"/>
<method name="/image_service/image/ID" value="same as /ID"/>
<method name="/image_service/images/ID" value="same as /ID, deprecated and will be removed in the future"/>
</resource>

API for Operations on an Image

Returns an image in specified ROI

GET /image_service/operations/roi

Query Parameters

Name
Type
Description

roi*

x1,y1,x2,y2[;x1,y1,x2,y2]

All values are in ranges

[1..N]

{
    // Response
}

Adjust brightness and contrast in an image

GET /image_service/operations/brightnesscontrast

Query Parameters

Name
Type
Description

brightnesscontrast*

[-100,100]

brightnesscontrast=brightness,contrast both in range [-100,100]

{
    // Response
}

Returns a 2D texture atlas image for a given 3D input

GET /image_service/operations/textureatlas

Query Parameters

Name
Type
Description

textureatlas

String

{
    // Response
}

Returns a transformed image

GET /image_service/operations/transform

transform=fourier|chebyshev|wavelet|radon|edge|wndchrmcolor|rgb2hsv|hsv2rgb|superpixels

Query Parameters

Name
Type
Description

transform*

String

{
    // Response
}

Returns a histogram of an image

GET /image_service/operations/histogram

Query Parameters

Name
Type
Description

histogram

String

{
    // Response
}

Returns an RGB/Gray image with the requested channel fusion

GET /image_service/operations/fuse

arg=[W1R,W1G,W1B;W2R,W2G,W2B;...[:METHOD]][display][gray]

Query Parameters

Name
Type
Description

fuse

String

{
    // Response
}

Returns a maximum intensity projection image

GET /image_service/operations/intensityprojection

Query Parameters

Name
Type
Description

intensityprojection*

String

intensityprojection=max|min

{
    // Response
}

Table Service

Executes operations for a given table ID.

GET https://bisque2.ece.ucsb.edu/table

Typically used for getting slice from HDF5 data.

Example A numpy array stored in an HDF5 that is too big to load into memory on a Macbook. We only want to process chunks of the data at a time.

Query Parameters

Name
Type
Description

id*

String

/table//ID[/PATH1/PATH2/...][/RANGE][/COMMAND:PARS]

Last updated