sounscope, second try ok
This commit is contained in:
@@ -37,8 +37,53 @@ subroutine increment_pixel(pix, k)
|
||||
|
||||
end subroutine
|
||||
! -------------------------------------------------------------------
|
||||
subroutine make_red_dot(image, ix, iy)
|
||||
type(t_pixrgb), intent(inout) :: image(:,:)
|
||||
integer, intent(in) :: ix, iy
|
||||
|
||||
subroutine dim_pix_rgb(pix, k)
|
||||
image(ix, iy)%r = 65000
|
||||
image(ix+1, iy)%r = 65000
|
||||
image(ix-1, iy)%r = 65000
|
||||
image(ix+2, iy)%r = 65000
|
||||
image(ix-2, iy)%r = 65000
|
||||
|
||||
end subroutine
|
||||
!-- ------------------------------------------------------------------
|
||||
subroutine make_blue_dot(image, ix, iy)
|
||||
type(t_pixrgb), intent(inout) :: image(:,:)
|
||||
integer, intent(in) :: ix, iy
|
||||
|
||||
image(ix, iy)%b = 65000
|
||||
image(ix, iy+1)%b = 65000
|
||||
image(ix, iy-1)%b = 65000
|
||||
image(ix, iy+2)%b = 65000
|
||||
image(ix, iy-2)%b = 65000
|
||||
|
||||
end subroutine
|
||||
!-- ------------------------------------------------------------------
|
||||
|
||||
|
||||
subroutine make_big_dot(image, ix, iy)
|
||||
type(t_pixrgb), intent(inout) :: image(:,:)
|
||||
integer, intent(in) :: ix, iy
|
||||
|
||||
image(ix, iy)%g = 65000
|
||||
|
||||
image(ix-1, iy)%g = 56000
|
||||
image(ix, iy-1)%g = 56000
|
||||
image(ix+1, iy)%g = 56000
|
||||
image(ix, iy+1)%g = 56000
|
||||
|
||||
image(ix+1, iy+1)%g = 24000
|
||||
image(ix-1, iy+1)%g = 24000
|
||||
image(ix+1, iy-1)%g = 24000
|
||||
image(ix-1, iy-1)%g = 24000
|
||||
|
||||
end subroutine
|
||||
|
||||
!-- ------------------------------------------------------------------
|
||||
|
||||
subroutine dim_pix_rgb_sub(pix, k)
|
||||
type(t_pixrgb), intent(inout) :: pix(:,:)
|
||||
integer,intent(in) :: k
|
||||
integer :: ix, iy
|
||||
@@ -60,5 +105,23 @@ subroutine dim_pix_rgb(pix, k)
|
||||
enddo
|
||||
|
||||
end subroutine
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
subroutine dim_pix_rgb_mul(pix, fk)
|
||||
type(t_pixrgb), intent(inout) :: pix(:,:)
|
||||
real,intent(in) :: fk
|
||||
|
||||
integer :: ix, iy
|
||||
|
||||
! write(0, *) "dim pixrgb", k
|
||||
|
||||
do ix=1, ubound(pix, 1)
|
||||
do iy=1, ubound(pix, 2)
|
||||
|
||||
enddo
|
||||
enddo
|
||||
|
||||
end subroutine
|
||||
|
||||
! -------------------------------------------------------------------
|
||||
end module
|
||||
|
||||
Reference in New Issue
Block a user