Pages

.

Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Learn Neuro Linguistic Programming to Solve Your Own Problems And Alter Your Life

Many people who want to discover NLP have no idea where to start. A number of them hit the actual books like grade-A college students. Others go to week-long workshops someplace. And some might purchase Neuro linguistic programming home research courses on the internet.

To each their own, I always state. After all, exactly what matters the majority of is that you possess the drive and also the desire to discover NLP. This alone is sufficient to get you via pretty much something.

However, if you aren't completely clear on how much you need to commit to Neuro linguistic programming, then perhaps some enlightenment is in order.

What NLP is actually

To learn Neuro linguistic programming, it's useful to understand its origins very first. NLP means Neuro-Linguistic Programming. This began within the 1970's whenever co-founders Richard Bandler as well as John Grinding machine decided to read the art associated with improving individual's lives.

It may sound a little too wide and a small too trusting now, however nothing had been off limits towards the field associated with psychotherapy after that. I suppose you can say that the actual 1970's would be a very exciting here we are at ideologies such as NLP. Everyone was just finding the power of alter and self-improvement.

Neuro linguistic programming Techniques

Within the decades, Neuro linguistic programming techniques happen to be tweaked to match the needs and desires of the individual person. Consequently, NLP presently has a host of self-improvement techniques under its belt.

In the simple artwork of anchoring (that involves the organization of pictures and feelings) to the numerous techniques associated with rapport (including mirroring techniques among others), Neuro linguistic programming has something for almost all kinds of scenario.

How Neuro linguistic programming can help you

If you wish to learn Neuro linguistic programming, you need to understand it's as good as having a transformation.

If you have always been scared of public speaking, for instance, NLP may push you to definitely take control of your concern. If you want to be a successful business owner, NLP can help turn you into a person who is an expert at company negotiations.

To understand NLP may appear a little modern for some, but that is only simply because they haven't been brought to it however. However, it isn't really because alien an idea as exactly what some may be thinking.

Neuro linguistic programming basically can help you take control of your existence. It helps the thing is things inside a different mild. It helps the thing is "you" in a various light. As well as your perspective is the reason why all the difference on the planet.

Visit NLP power training to know more about the benefits you attain by practicing neuro linguistic programming like confidence in public speaking for becoming a successful business personal as is mentioned above in the post.
reade more... Résuméabuiyad

Sobel edge detection using Java Advanced Imaging



The Java Advanced Imaging API supports a number of interesting convolutions straight out of the box, and one of them is Sobel edge detection.

The Sobel edge-detection kernel comes in two varieties, corresponding to horizontal edge detection and vertical edge detection:
 1  2  1
0 0 0
-1 -2 -1

1 0 -1
2 0 -2
1 0 -1
You can combine them, and/or run them serially against an image, to detect all edges in an image. And that's what the following code example (in JavaScript) does. You can run the following script against an image of your choice using the ImageMunger app I wrote about a few days ago. Be sure the Java Advanced Imaging JARs are in your classpath.
/* Sobel.js
* Kas Thomas
* 31 January 2010
* Public domain.
*
* An edge-detection routine using
* Java Advanced Imaging.
*
* Requires Java Advanced Imaging library:
* http://java.sun.com/products/java-media/jai/current.html
*
* Run this file using ImageMunger:
* http://asserttrue.blogspot.com/2010/01/simple-java-class-for-running-scripts.html
*
*/


jai = Packages.javax.media.jai;
sobelH = jai.KernelJAI.GRADIENT_MASK_SOBEL_HORIZONTAL;
sobelV = jai.KernelJAI.GRADIENT_MASK_SOBEL_VERTICAL;

pb = new Packages.java.awt.image.renderable.ParameterBlock( );

// ImageMunger puts "Image" in global scope:
pb.addSource( Image );
pb.add( sobelH );
pb.add( sobelV );

renderedOp = jai.JAI.create( "gradientmagnitude", pb );
var image = renderedOp.getRendering().getAsBufferedImage();
Panel.setImage( invertImage( image ) );

// take BufferedImage as arg; flip all bits in all pixels
function invertImage( image ) {

var w = image.getWidth();
var h = image.getHeight();
var pixels = image.getRGB( 0,0, w,h, null, 0,w );

for ( var i = 0; i < pixels.length; i++ )
pixels[ i ] =~ pixels[ i ]; // flip pixel bits

image.setRGB( 0,0, w,h, pixels, 0, w );
return image;
}

If you run the Sobel operation by itself, you get a "negative" image, like so:



If you want the inverted version of this image (see example further above), you need to invert the individual pixels of the image. The super-fast way to do it is with a lookup table, but you can also do the pixel inversion manually, in a loop, which is what I've done (for illustrative purposes). In JavaScript the pixel-inversion loop adds about one second of processing time for a 600 x 400 image. The Sobel filter by itself takes around a half a second.

Sobel tends to be very sensitive to noise (it will feature-enhance specks and JPEG artifacts), so it often helps to smooth an image, first, with a blurring operation, prior to applying Sobel.

Future projects:
  • Write a "tunable" version of Sobel that can detect soft or hard edges, according to a tuning parameter.
  • Write a version of Sobel that's tunable by color (viz., detecting just blue edges, or just black edges, or just medium-grey edges).
reade more... Résuméabuiyad