Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=256), | public | :: | image_name | ||||
character(len=256), | public | :: | file_name | ||||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | pixels | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | pixels_app | |||
integer, | public | :: | nrow | ||||
integer, | public | :: | ncol | ||||
integer, | public | :: | rank |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | image_name | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | rank | |||
character(len=*), | intent(in), | optional | :: | method |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name | |||
character(len=*), | intent(in) | :: | image_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this |
type :: pixel character(256) :: image_name character(256) :: file_name real(rk), dimension(:,:), allocatable :: pixels real(rk), dimension(:,:), allocatable :: pixels_app integer :: nrow, ncol integer :: rank contains procedure :: image_to_pixels ! TODO: procedure :: load_pixels procedure :: compress_pixels procedure :: save_pixels procedure :: pixels_to_image ! TODO: procedure :: dlloc => deallocate_pixel end type pixel