This file contains 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
function imgresult = pseudo_mediana( img ) | |
%pseudo_mediana filtro pseudo mediana | |
%Autor Nelson Duranhona 20140911 YYYYMMDD | |
[ M ,N ] = size(img); | |
imgresult = uint8(zeros(M,N)); | |
M = M-1; | |
N = N-1; | |
D_VERT = 1; |
This file contains 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
function imgresult = pseudo_mediana( img ) | |
%pseudo_mediana filtro pseudo mediana | |
%Autor Nelson Duranhona 20140911 YYYYMMDD | |
%Solo funciona para 5 elementos de vencidad | |
[ M ,N ] = size(img); | |
imgresult = uint8(zeros(M,N)); %imagen resultante | |
MSK.D_VERT = 1; % cant. de elem a tomar horizontalmente como vencidad | |
MSK.D_HOR = 1 ; % cant. de elem a tomar verticalmente como vencidad |
This file contains 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
function explode_min($string, $minlen ){ | |
$subs = explode(" ", $string ); | |
$arrfinal = array(); | |
foreach($subs as $tok ){ | |
$len_tok = strlen($tok); | |
if ( $len_tok >= $minlen ) { | |
array_push( $arrfinal , $tok ); | |
} | |
} |
This file contains 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
function tema1() | |
SOL1(); | |
end | |
function SOL1() | |
I = im2bw( imread('binbolin.bmp') ); | |
%para que los elementos de interes tengan valor 1 y resto 0 |
This file contains 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
function Gf = multiescalemorph( g, B , M) | |
%MULTISCALEMORPH Implementacion de mejora del contraste utilizando un | |
% enfoque morfologico | |
% Parametros : | |
% g: imagen de entrada, | |
% B: elemento estructurante convexo | |
% M: cantidad de veces que se escalara el elemento estructurante | |
% Presentado por Susanta Mukhopadhyay, Bhabatosh Chanda en , | |
% "A multiscale morphological approach to local contrast enhancement" |
This file contains 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
--Nelson Duranhona | |
--Trabajo Practico de Estructura de los Lenguajes - Tema:Calculadora de expresiones enteras | |
--fecha Modificacion Final : 20081128 | |
--Se asume que se apila y desapila hacia la izquierda | |
--------------------------------------------------------------------------------------------- | |
--FUNCIONES DEL INTERFAZ DEL PROGRAMA | |
import Data.Char (isSpace) | |
import System.Environment (getArgs) | |
import List(delete) | |
main = do |
This file contains 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
xy = json.loads(recv_data) | |
print("desempaquetado", xy) | |
print finishTime | |
print datetime.now().strftime("%H:%M:%S:%f") | |
startTime = datetime.now().replace(hour=startTime.hour, minute=startTime.minute, | |
second=startTime.second, | |
microsecond=startTime.microsecond) | |
finishTime = datetime.now().replace(hour=finishTime.hour, minute=finishTime.minute, | |
second=finishTime.second, | |
microsecond=finishTime.microsecond) |
This file contains 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
[ | |
{ | |
"id": 4, | |
"place": { | |
"id": 96, | |
"name": "Orlando test", | |
"description": "Tex-mex", | |
"phone": "8177778899", | |
"email": "osuperlanoc@gmail.com", | |
"address": "Trailhead Bend Way, Fort Worth, TX 76107, USA", |
This file contains 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
package org.datosparaguay; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.ConnectException; | |
import java.security.GeneralSecurityException; |
This file contains 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
@Bean | |
public CorsFilter corsFilter() { | |
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); | |
CorsConfiguration config = new CorsConfiguration(); | |
config.setAllowCredentials(true); | |
config.addAllowedOrigin("*"); | |
config.addAllowedHeader("*"); | |
config.addAllowedMethod("OPTIONS"); | |
config.addAllowedMethod("PATCH"); | |
config.addAllowedMethod("GET"); |
OlderNewer