iM@S MultiColor Keying
Copyright © 2008 UMEZAWA Takeshi
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
iM@S MultiColor Keying
Copyright © 2008 �~�V �Ўu
���̃v���O�����̓t���[�\�t�g�E�F�A�ł��B���Ȃ��͂�����A�t���[�\�t �g�E�F�A���c�ɂ���Ĕ��s���ꂽ GNU ��ʌ��O���p�����_��(�o�[�W�� ��2���A��]�ɂ���Ă͂���ȍ~�̃o�[�W�����̂����ǂꂩ)�̒�߂���� �̉��ōĔЕz�܂��͉��ς��邱�Ƃ��ł��܂��B
���̃v���O�����͗L�p�ł��邱�Ƃ�����ĔЕz����܂����A*�S���̖��� ��* �ł��B���Ɖ\���̕ۏ����̖ړI�ւ̓K�����́A���O�Ɏ����ꂽ ���̂��܂ߑS�����݂��܂���B�ڂ�����GNU ��ʌ��O���p�����_���� �����������B
���Ȃ��͂��̃v���O�����Ƌ��ɁAGNU ��ʌ��O���p�����_�̕������� �ꕔ������͂��ł��B��������Ă��Ȃ���A�t���[�\�t�g�E�F �A���c�܂Ő������Ă�������(����� the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA)�B
iM@S MultiColor Keying �́A�u�A�C�h���}�X�^�[ ���C�u�t�H�[���[�I�v�̃u���[�o�b�N�@�\�𗘗p���A�������̃A���t�@�`���l�����������_���X�̉f���𒊏o�i������u�A���t�@�����v�j���� AviSynth �v���O�C���ł��BAviSynth 2.5 �ł̓�����m�F���Ă��܂��B
�Ȃ��A������̂̓_���X�����ł��B�R�~�����͌�����K�p�ł��Ȃ��̂ŁA�N���}�L�[�⍷�������ł���Ă��������B�_���X���̃A�s�[����������^�悵�ē����A���O���E�|�[�Y�E�}�[�N�ɂ��邱�Ƃ͋ɂ߂ē���͂��Ȃ̂ŁA�����̂͌����I�ł͂Ȃ��Ǝv���܂��B
�܂��AMicrosoft Visual C++ 2005 SP1 �ĔЕz�\�p�b�P�[�W (x86) ���K�v�ł��B
�g���Ă�̂��g���ĂȂ��̂��T�b�p���Ȃ̂ŁA�g��������̃R���Ŏg���Ă��[�Ə����Ă���������Ɨ�݂ɂȂ�܂��B�܂��A�g�����̏��Ȃ��\�t�g�E�F�A�ł���܂����c
�قȂ� 2 �F�o�b�N����͂��A�A���t�@�`���l�����������L�����̉f�����o�͂��܂��BImasMultiColorKeying �Ɣ�ׂ�ƁA�U�F��U�A���t�@�͂����Ԍ����Ă��܂����A�G�b�W�̔������x�͎�������Ă���悤�ł��i�������AH.264 �Ȃ� VP6 �Ȃ�ɃG���R�[�h����ƃG�b�W�̐��x�̍��͂قƂ�Ǖ�����Ȃ��Ȃ�܂��j�B�܂��A���͂���N���b�v�����Ȃ����߁AHDD �A�N�Z�X�����Ȃ��Ȃ������ʂƂ��ď������x�����サ�Ă��܂��B
LoadPlugin("imck.dll") clip1 = AviSource("gray.avi", pixel_type = "RGB24") clip2 = AviSource("green.avi", pixel_type = "RGB24") ImasMultiColorKeying2(300, clip1, clip2, outtype = IMCK2_OUTTYPE_RGB32_RGBA)
�w��l | �o�̓t�H�[�}�b�g (pixel_type) | �e�`�����l���̒��g | |
---|---|---|---|
RGB�`�����l�� | �A���t�@�`�����l�� | ||
IMCK2_OUTTYPE_RGB32_RGBA | RGB32 | RGB�l | �A���t�@�l |
IMCK2_OUTTYPE_RGB32_ALPHAONLY | RGB32 | �� | �A���t�@�l |
IMCK2_OUTTYPE_RGB24_RGBONLY | RGB24 | RGB�l | - |
IMCK2_OUTTYPE_RGB24_ALPHAONLY | RGB24 | �A���t�@�l | - |
�ƐԂ������͂��A�A���t�@�`���l�����������L�����̉f�����o�͂��܂��B������͌݊����̂��߂Ɏc���Ă�����̂ŁA�V�K�Ɏg���Ӌ`�͂Ȃ��Ǝv���܂��B
LoadPlugin("imck.dll") clip_r1 = AviSource("red1.avi", pixel_type = "RGB24").ConvertToRGB32() clip_r2 = AviSource("red2.avi", pixel_type = "RGB24").ConvertToRGB32() clip_r3 = AviSource("red3.avi", pixel_type = "RGB24").ConvertToRGB32() clip_g1 = AviSource("green1.avi", pixel_type = "RGB24").ConvertToRGB32() clip_g2 = AviSource("green2.avi", pixel_type = "RGB24").ConvertToRGB32() clip_g3 = AviSource("green3.avi", pixel_type = "RGB24").ConvertToRGB32() ImasMultiColorKeying(clip_r1, clip_r2, clip_r3, clip_g1, clip_g2, clip_g3)
LoadPlugin("imck.dll") clip_r1 = AviSource("red1.avi", pixel_type = "RGB24").ConvertToRGB32() clip_r2 = AviSource("red2.avi", pixel_type = "RGB24").ConvertToRGB32() clip_g1 = AviSource("green1.avi", pixel_type = "RGB24").ConvertToRGB32() ImasMultiColorKeying(clip_r1, clip_r2, clip_r2, clip_g1, clip_g1, clip_g1) ~~~~~~~ ~~~~~~~ ~~~~~~~
��ʌ��J���ꂽ�ŏ��̃o�[�W�����B