Make magnitude histogram
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | layer(:,:) |
The layer of image. |
||
integer, | intent(in) | :: | maximum_number |
The max value of pixel. |
The magnitude histogram.
Translate Linear
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel values. |
||
integer, | intent(in), | optional | :: | maximum_value |
The max value of image pixel. |
|
integer, | intent(in), | optional | :: | low_threshold |
Threshold to cut min. |
|
integer, | intent(in), | optional | :: | high_threshold |
Threshold to cut max. |
The image applied linear transition.
Apply brightness transition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel value. |
||
integer, | intent(in) | :: | shift |
Shift width. |
||
integer, | intent(in), | optional | :: | maximum_value |
Max value to truncate. default to 255. |
The image applied brightness transition.
Apply contrast transition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel value. |
||
integer, | intent(in) | :: | maximum_value |
Max value of image pixels. |
||
real, | intent(in) | :: | K |
K |
The image applied contrast transition.
Apply gamma correction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel values. |
||
integer, | intent(in) | :: | maximum_value |
The max value of pixels. |
||
real, | intent(in) | :: | g |
Gamma value. |
The image applied gamma correction.
Apply histgram equalization
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel values. |
||
integer, | intent(in) | :: | maximum_value |
The max value of pixels. |
The image applied histogram equalization.