We derive joint probability density functions (JPDFs) for two adjacent data from direct-detection optical receivers in dense wavelength-division multiplexing systems. We show that the decision using two data per bit can increase the receiver sensitivity compared with the conventional decision. Our JPDFs can be used for software-defined optical receivers enhancing the receiver sensitivities for intensity-modulated channels.