<commit_before>Mat crop(Mat source){
    Mat result,object;
    object = imread("picture/rya.jpg",0);

    result = source;
    int width = source.size().width;
    int height = source.size().height;

    for(int i=0;i<height;i++){
        for(int j=0;j<width;j++){
            int value = (int) object.at<uchar>(i,j);
            if(value>=128)
                result.at<Vec3b>(i, j) = 0;
        }
    }

    return result;
}<commit_msg>Add more method from crop, now they are 2 method (for shilouette, and substract), and add method getObject if main want to do something like print<commit_after>Mat cropSilhouette(Mat source){
    Mat result,object;
    object = imread("picture/rya.jpg",0);

    result = source;
    int width = source.size().width;
    int height = source.size().height;

    for(int i=0;i<height;i++){
        for(int j=0;j<width;j++){
            int value = (int) object.at<uchar>(i,j);
            if(value>=128)
                result.at<Vec3b>(i, j) = 0;
        }
    }

    return result;
}

Mat cropSubtract(Mat source){
    Mat result,object;
    object = imread("picture/rya.jpg",0);

    result = source;
    int width = source.size().width;
    int height = source.size().height;

    for(int i=0;i<height;i++){
        for(int j=0;j<width;j++){
            Vec3b value = object.at<uchar>(i,j);
            for(int k=0;k<3;k++){
                int temp = result.at<Vec3b>(i, j).val[k]-value.val[k];
                if(temp>255)
                    result.at<Vec3b>(i, j).val[k]=255;
                else if(temp<0)
                    result.at<Vec3b>(i, j).val[k]=0;
                else
                    result.at<Vec3b>(i, j).val[k] = temp;
            }
        }
    }

    return result;
}

Mat getObject(){
    Mat object;
    object = imread("picture/rya.jpg",0);
    return object;
}
{'fraction_non_alphanumeric': 0.15938864628820962, 'fraction_numerical': 0.019650655021834062, 'mean_word_length': 2.0347682119205297, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5424246', 'n_tokens_mistral': 651, 'n_tokens_neox': 619, 'n_words': 132}