This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SignIn extends AsyncTask<String, Void, String> { | |
private static final String TAG = "SignIn"; | |
String email; | |
String password; | |
//outputs | |
User user; | |
boolean successStatus=false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
python task1.py path/to/input threshold-int | |
''' | |
import PIL | |
from PIL import Image | |
import itertools | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('olalala') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Requirments: | |
python & | |
> pip install pillow | |
> pip install matplotlib | |
> pip install numpy | |
Run: | |
> python histogram-equalization.py path/to/image | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Calculates table for | |
* @param size | |
*/ | |
const calculateTable = (size: number): number[][] => { | |
const table = Array.apply(null, new Array(size)).map(() => []); // fill matrix | |
for (let i = 0; i < size; i++) { | |
for (let j = i; j < size; j++) { |