(a) If the defendant is found not guilty, a judgment of not guilty must be rendered in open court and in writing, signed by a judge, filed, and recorded. (b) If the defendant is found guilty, a judgment of guilty must be rendered in open court and in writing, signed by the judge, filed, and recorded. However, where allowed by law, the judge may withhold an adjudication of guilt. In the case of a felony, the judge may withhold an adjudication of guilty only if the judge places the defendant on probation